Pagini recente » Borderou de evaluare (job #1865077) | Borderou de evaluare (job #1630558) | Borderou de evaluare (job #1868422) | Borderou de evaluare (job #2882048) | Borderou de evaluare (job #1630508)
Borderou de evaluare (job #1630508)
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 | 436kb | OK | 5 |
| 3 | 0ms | 432kb | Incorect | 0 |
| 4 | 0ms | 432kb | OK | 5 |
| 5 | 0ms | 436kb | OK | 5 |
| 6 | 0ms | 428kb | OK | 5 |
| 7 | 4ms | 428kb | OK | 5 |
| 8 | 4ms | 432kb | OK | 5 |
| 9 | 20ms | 428kb | OK | 5 |
| 10 | 44ms | 432kb | OK | 5 |
| 11 | 92ms | 436kb | OK | 5 |
| 12 | 140ms | 436kb | OK | 5 |
| 13 | 184ms | 436kb | OK | 5 |
| 14 | 232ms | 432kb | OK | 5 |
| 15 | 1060ms | 428kb | OK | 5 |
| 16 | 1176ms | 432kb | OK | 5 |
| 17 | 1160ms | 432kb | OK | 5 |
| 18 | 1264ms | 432kb | OK | 5 |
| 19 | 1268ms | 432kb | OK | 5 |
| 20 | 1260ms | 436kb | OK | 5 |
| Punctaj total | 95 |