Pagini recente » Borderou de evaluare (job #2379526) | Borderou de evaluare (job #591921) | Borderou de evaluare (job #362064) | Borderou de evaluare (job #2522509) | Borderou de evaluare (job #1630519)
Borderou de evaluare (job #1630519)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d", &n);
^
user.cpp:13:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d ", &x);
^
user.cpp:27:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d %d %d", sm, start, endi);
^
user.cpp:27:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
user.cpp:27:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
user.cpp:7:35: 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);
^
user.cpp:8:37: 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);
^
user.cpp:10:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:13:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 424kb | OK | 5 |
2 | 0ms | 428kb | OK | 5 |
3 | 0ms | 428kb | OK | 5 |
4 | 0ms | 432kb | OK | 5 |
5 | 0ms | 436kb | OK | 5 |
6 | 0ms | 436kb | OK | 5 |
7 | 4ms | 432kb | OK | 5 |
8 | 4ms | 432kb | OK | 5 |
9 | 20ms | 436kb | OK | 5 |
10 | 44ms | 432kb | OK | 5 |
11 | 92ms | 436kb | OK | 5 |
12 | 140ms | 428kb | OK | 5 |
13 | 188ms | 432kb | OK | 5 |
14 | 232ms | 436kb | OK | 5 |
15 | 1056ms | 432kb | OK | 5 |
16 | 1160ms | 432kb | OK | 5 |
17 | 1188ms | 436kb | OK | 5 |
18 | 1260ms | 436kb | OK | 5 |
19 | 1272ms | 432kb | OK | 5 |
20 | 1268ms | 432kb | OK | 5 |
Punctaj total | 100 |