Submission #364076

#TimeUsernameProblemLanguageResultExecution timeMemory
364076knightron0Carnival Tickets (IOI20_tickets)C++14
0 / 100
1 ms364 KiB
#include <bits/stdc++.h> using namespace std; #define pb push_back #define fr first #define sc second #define clr(a, x) memset(a, x, sizeof(a)) #define dbg(x) cout<<"("<<#x<<"): "<<x<<endl; #define printvector(arr) for (auto it = arr.begin(); it != arr.end(); ++it) cout<<*it<<" "; cout<<endl; #define all(v) v.begin(), v.end() #define lcm(a, b) (a * b)/__gcd(a, b) #define printvecpairs(vec) for(auto it: vec) cout<<it.fr<<' '<<it.sc<<endl; #define endl '\n' #define float long double #define lli long long int const int MOD = 1e9 + 7; const int INF = 2e15; const int MAXN = 1e5 + 5; lli find_maximum(int k, vector<vector<int>> x){ return (lli)0; } // signed main() { // ios_base::sync_with_stdio(false); // cin.tie(NULL); // #ifdef LOCAL // freopen("input.txt", "r", stdin); // #endif // int n, m; // cin>>n>>m; // vector a[n][m]; // for(int i= 0;i<n;i++){ // for(int j= 0;j<m;j++){ // cin>>a[i][j]; // } // } // cout<<find_maximum(0, a)<<endl; // return 0; // }

Compilation message (stderr)

tickets.cpp:18:17: warning: overflow in conversion from 'double' to 'int' changes value from '2.0e+15' to '2147483647' [-Woverflow]
   18 | const int INF = 2e15;
      |                 ^~~~
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...