Pagini recente » Cod sursa (job #2870530) | Cod sursa (job #560484) | Borderou de evaluare (job #1212020) | Cod sursa (job #257429) | Borderou de evaluare (job #2505969)
Borderou de evaluare (job #2505969)
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 | 3ms | 131kb | OK | 5 |
| 5 | 3ms | 131kb | OK | 5 |
| 6 | 5ms | 262kb | OK | 5 |
| 7 | 9ms | 339kb | OK | 5 |
| 8 | 16ms | 372kb | OK | 5 |
| 9 | 26ms | 917kb | OK | 5 |
| 10 | 60ms | 1703kb | OK | 5 |
| 11 | 125ms | 3264kb | OK | 5 |
| 12 | 179ms | 4919kb | OK | 5 |
| 13 | 248ms | 6492kb | OK | 5 |
| 14 | 293ms | 8126kb | OK | 5 |
| 15 | 1419ms | 40239kb | OK | 5 |
| 16 | 1516ms | 44171kb | OK | 5 |
| 17 | 1282ms | 44302kb | OK | 5 |
| 18 | 1604ms | 22917kb | Time limit exceeded | 0 |
| 19 | 1604ms | 30470kb | Time limit exceeded | 0 |
| 20 | 1600ms | 22806kb | Time limit exceeded | 0 |
| Punctaj total | 80 |