Pagini recente » Borderou de evaluare (job #1958733) | Borderou de evaluare (job #990508) | Borderou de evaluare (job #2112303) | Borderou de evaluare (job #2862546) | Borderou de evaluare (job #2336066)
Borderou de evaluare (job #2336066)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:9:26: warning: integer overflow in expression [-Woverflow]
int x, i, n, maxim = -(1 << 31), stmax, drmax, suma = 0, stcrt = 0;
^~~~~~~~~~
main.cpp:7: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:8: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:10:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:13:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
main.cpp:27:11: warning: 'drmax' may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d %d %d\n", maxim, stmax + 1, drmax + 1);
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:27:11: warning: 'stmax' may be used uninitialized in this function [-Wmaybe-uninitialized]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 5 |
2 | 2ms | 131kb | OK | 5 |
3 | 2ms | 131kb | OK | 5 |
4 | 2ms | 131kb | OK | 5 |
5 | 4ms | 131kb | OK | 5 |
6 | 5ms | 131kb | OK | 5 |
7 | 8ms | 131kb | OK | 5 |
8 | 11ms | 131kb | OK | 5 |
9 | 35ms | 131kb | OK | 5 |
10 | 76ms | 131kb | OK | 5 |
11 | 146ms | 131kb | OK | 5 |
12 | 210ms | 131kb | OK | 5 |
13 | 260ms | 131kb | OK | 5 |
14 | 312ms | 131kb | OK | 5 |
15 | 1148ms | 131kb | OK | 5 |
16 | 1279ms | 262kb | OK | 5 |
17 | 1261ms | 131kb | OK | 5 |
18 | 1602ms | 131kb | Time limit exceeded | 0 |
19 | 1602ms | 131kb | Time limit exceeded | 0 |
20 | 1603ms | 131kb | Time limit exceeded | 0 |
Punctaj total | 85 |