Pagini recente » Cod sursa (job #2398613) | Cod sursa (job #3232452) | Cod sursa (job #767589) | Cod sursa (job #1472020) | Borderou de evaluare (job #1800484)
Borderou de evaluare (job #1800484)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &caz);
^
user.cpp:31:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dif2.in", "r", stdin);
^
user.cpp:32:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dif2.out", "w", stdout);
^
user.cpp:33:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &caz);
^
user.cpp:36:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:38:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
user.cpp:43:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%lld%lld", &n, &p1, &p2);
^
user.cpp:45:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 116ms | 1384kb | OK | 5 |
| 2 | 124ms | 1184kb | OK | 5 |
| 3 | 64ms | 916kb | OK | 5 |
| 4 | 64ms | 916kb | OK | 5 |
| 5 | 88ms | 1172kb | OK | 5 |
| 6 | 0ms | 1448kb | OK | 5 |
| 7 | 0ms | 1448kb | OK | 5 |
| 8 | 92ms | 1584kb | OK | 5 |
| 9 | 116ms | 1620kb | OK | 5 |
| 10 | 28ms | 1492kb | OK | 5 |
| 11 | 120ms | 1624kb | OK | 5 |
| 12 | 92ms | 1584kb | OK | 5 |
| 13 | 112ms | 1608kb | OK | 5 |
| 14 | 620ms | 2256kb | OK | 5 |
| 15 | Depăşit | 2536kb | Time limit exceeded. | 0 |
| 16 | 532ms | 2156kb | OK | 5 |
| 17 | Depăşit | 2512kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 2388kb | Time limit exceeded. | 0 |
| 19 | 520ms | 2144kb | OK | 5 |
| 20 | 40ms | 664kb | OK | 5 |
| Punctaj total | 85 |