Pagini recente » Cod sursa (job #405155) | Cod sursa (job #431369) | Monitorul de evaluare | Cod sursa (job #824397) | Borderou de evaluare (job #2761000)
Borderou de evaluare (job #2761000)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:77:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d ", bad ? -1 : ans);
^
main.cpp:12:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("veverite.in", "r", stdin);
^
main.cpp:13:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("veverite.out", "w", stdout);
^
main.cpp:15:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &q);
^
main.cpp:17:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
main.cpp:22:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 5ms | 131kb | OK | 5 | 20 |
| 2 | 6ms | 131kb | OK | 5 |
| 3 | 6ms | 131kb | OK | 5 |
| 4 | 6ms | 131kb | OK | 5 |
| 5 | 190ms | 1572kb | OK | 5 | 20 |
| 6 | 216ms | 1572kb | OK | 5 |
| 7 | 216ms | 1572kb | OK | 5 |
| 8 | 197ms | 1572kb | OK | 5 |
| 9 | 334ms | 1703kb | OK | 5 | 60 |
| 10 | 336ms | 1703kb | OK | 5 |
| 11 | 400ms | 1703kb | OK | 5 |
| 12 | 374ms | 1703kb | OK | 5 |
| 13 | 415ms | 1703kb | OK | 5 |
| 14 | 370ms | 1703kb | OK | 5 |
| 15 | 206ms | 1703kb | OK | 5 |
| 16 | 203ms | 1703kb | OK | 5 |
| 17 | 202ms | 1835kb | OK | 5 |
| 18 | 195ms | 1703kb | OK | 5 |
| 19 | 188ms | 1703kb | OK | 5 |
| 20 | 183ms | 1703kb | OK | 5 |
| Punctaj total | 100 |