Submission #1180915

#TimeUsernameProblemLanguageResultExecution timeMemory
1180915timkaA + B (IOI24_aplusb)C++20
100 / 100
0 ms328 KiB
#include <bits/stdc++.h> using namespace std; const int mod = 1e9 + 7; const int inf = 1e18; int sum(int a, int b) { return a+b; } /* n=6 6 3 5 2 4 1 n=5 1 5 3 */

Compilation message (stderr)

aplusb.cpp:6:17: warning: overflow in conversion from 'double' to 'int' changes value from '1.0e+18' to '2147483647' [-Woverflow]
    6 | const int inf = 1e18;
      |                 ^~~~
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...