Borderou de evaluare (job #1838641)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:19: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf ("%hd", &N);
^
user.cpp:19:21: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf ("%hd", &x);
^
user.cpp:15:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("numere5.in", "r", stdin);
^
user.cpp:16:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("numere5.out", "w", stdout);
^
user.cpp:17:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%hd", &N);
^
user.cpp:19:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%hd", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 56ms | 328kb | Incorect | 0 | 0 |
2 | 0ms | 264kb | OK | 10 |
3 | 72ms | 332kb | Incorect | 0 |
4 | 44ms | 332kb | Incorect | 0 |
5 | 104ms | 328kb | Incorect | 0 |
6 | 172ms | 328kb | Incorect | 0 | 0 |
7 | 216ms | 332kb | Incorect | 0 |
8 | 276ms | 332kb | Incorect | 0 |
9 | 232ms | 328kb | Incorect | 0 |
10 | 264ms | 332kb | Incorect | 0 |
Punctaj total | 0 |