Pagini recente » Borderou de evaluare (job #1635336) | Borderou de evaluare (job #1863432) | Borderou de evaluare (job #897679) | Borderou de evaluare (job #2507526) | Borderou de evaluare (job #2645659)
Borderou de evaluare (job #2645659)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:35:6: warning: unused variable 'mo_left' [-Wunused-variable]
int mo_left = 0, mo_right = -1;
^~~~~~~
main.cpp:35:19: warning: unused variable 'mo_right' [-Wunused-variable]
int mo_left = 0, mo_right = -1;
^~~~~~~~
main.cpp:9:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("rangemode.in", "r", stdin);
^
main.cpp:10:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("rangemode.out", "w", stdout);
^
main.cpp:13:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:16:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", a+i);
^
main.cpp:21:43: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &q[i].first, &q[i].second);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 24ms | 655kb | OK | 10 | 10 |
2 | 37ms | 786kb | OK | 10 | 10 |
3 | 120ms | 1179kb | OK | 10 | 30 |
4 | 104ms | 1179kb | OK | 10 |
5 | 179ms | 1441kb | OK | 10 |
6 | 204ms | 1703kb | OK | 10 | 50 |
7 | 524ms | 2883kb | OK | 10 |
8 | 474ms | 2883kb | OK | 10 |
9 | 517ms | 3014kb | OK | 10 |
10 | 512ms | 2883kb | OK | 10 |
Punctaj total | 100 |