Pagini recente » Cod sursa (job #787899) | Cod sursa (job #2704136) | Cod sursa (job #1052271) | Borderou de evaluare (job #1549795) | Borderou de evaluare (job #2506013)
Borderou de evaluare (job #2506013)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:9: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:10: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:12:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &x);
^
main.cpp:16:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
main.cpp:24:11: warning: 'indmax' may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d %d %d\n", smax, indmax + 1, pozmax + 1);
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:24:11: warning: 'pozmax' may be used uninitialized in this function [-Wmaybe-uninitialized]
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 3ms | 131kb | OK | 5 |
| 2 | 3ms | 131kb | OK | 5 |
| 3 | 2ms | 131kb | OK | 5 |
| 4 | 3ms | 131kb | OK | 5 |
| 5 | 4ms | 131kb | OK | 5 |
| 6 | 6ms | 131kb | OK | 5 |
| 7 | 9ms | 335kb | OK | 5 |
| 8 | 13ms | 393kb | OK | 5 |
| 9 | 27ms | 917kb | OK | 5 |
| 10 | 57ms | 1703kb | OK | 5 |
| 11 | 109ms | 3276kb | OK | 5 |
| 12 | 184ms | 4911kb | OK | 5 |
| 13 | 278ms | 6553kb | OK | 5 |
| 14 | 299ms | 8101kb | OK | 5 |
| 15 | 1480ms | 40087kb | OK | 5 |
| 16 | 1601ms | 43429kb | Time limit exceeded | 0 |
| 17 | 1602ms | 44007kb | Time limit exceeded | 0 |
| 18 | 1548ms | 48054kb | OK | 5 |
| 19 | 1534ms | 48078kb | OK | 5 |
| 20 | 1603ms | 42860kb | Time limit exceeded | 0 |
| Punctaj total | 85 |