Pagini recente » Cod sursa (job #364082) | Cod sursa (job #2732933) | Cod sursa (job #2676599) | Cod sursa (job #371097) | Borderou de evaluare (job #2505968)
Borderou de evaluare (job #2505968)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:10:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ssm.in", "r", stdin);
^
main.cpp:11:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ssm.out", "w", stdout);
^
main.cpp:14:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:16:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", v + i);
^
main.cpp:30:11: warning: 'pozmax' may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%lld %d %d\n", smax, secstart + 2, pozmax + 1);
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 3ms | 131kb | OK | 5 |
| 2 | 3ms | 131kb | Incorect | 0 |
| 3 | 2ms | 131kb | OK | 5 |
| 4 | 2ms | 131kb | OK | 5 |
| 5 | 4ms | 131kb | OK | 5 |
| 6 | 5ms | 262kb | OK | 5 |
| 7 | 7ms | 393kb | OK | 5 |
| 8 | 9ms | 524kb | OK | 5 |
| 9 | 38ms | 1314kb | OK | 5 |
| 10 | 55ms | 2490kb | OK | 5 |
| 11 | 119ms | 4976kb | OK | 5 |
| 12 | 177ms | 7450kb | OK | 5 |
| 13 | 228ms | 9699kb | OK | 5 |
| 14 | 266ms | 12189kb | OK | 5 |
| 15 | 1407ms | 60170kb | OK | 5 |
| 16 | 1603ms | 65200kb | Time limit exceeded | 0 |
| 17 | 1335ms | 65552kb | Memory limit exceeded | 0 |
| 18 | 1606ms | 24268kb | Time limit exceeded | 0 |
| 19 | 1404ms | 65552kb | Memory limit exceeded | 0 |
| 20 | 1413ms | 65552kb | Memory limit exceeded | 0 |
| Punctaj total | 70 |