Pagini recente » Borderou de evaluare (job #2616535) | Borderou de evaluare (job #2757722) | Borderou de evaluare (job #2314707) | Borderou de evaluare (job #2668839) | Borderou de evaluare (job #2305355)
Borderou de evaluare (job #2305355)
Raport evaluator
Compilare:
main.cpp: In constructor 'Node::Node(int, long long int, int)':
main.cpp:9:26: warning: 'Node::sum' will be initialized after [-Wreorder]
int mxm, lzy; long long sum;
^~~
main.cpp:9:11: warning: 'int Node::lzy' [-Wreorder]
int mxm, lzy; long long sum;
^~~
main.cpp:11:2: warning: when initialized here [-Wreorder]
Node(int _mxm = 0, long long _sum = 0, int _lzy = 0) :
^~~~
main.cpp: In function 'int main()':
main.cpp:106:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("vaporeon.in", "r", stdin);
^
main.cpp:107:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("vaporeon.out", "w", stdout);
^
main.cpp:109:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
int n, k; scanf("%d %d", &n, &k);
^
main.cpp:111:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &arr[i]); lst[i] = make_pair(arr[i], i); }
^
main.cpp:122:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
t = 0; scanf("%d", &t);
^
main.cpp:125:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
int p; scanf("%d", &p); p ^= ans;
^
main.cpp:151:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
int x, y; scanf("%d %d", &x, &y); x ^= ans; y ^= ans;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 6553kb | OK | 10 |
2 | 20ms | 6553kb | OK | 10 |
3 | 289ms | 7471kb | OK | 10 |
4 | 244ms | 7340kb | OK | 10 |
5 | 270ms | 7471kb | OK | 10 |
6 | 244ms | 7471kb | OK | 10 |
7 | 314ms | 7733kb | OK | 10 |
8 | 938ms | 8781kb | OK | 10 |
9 | 1077ms | 9175kb | OK | 10 |
10 | 674ms | 8912kb | OK | 10 |
Punctaj total | 100 |