Pagini recente » Cod sursa (job #608513) | Borderou de evaluare (job #1342626) | Cod sursa (job #608490) | Borderou de evaluare (job #1569418) | Borderou de evaluare (job #1541507)
Borderou de evaluare (job #1541507)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:8:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perioada01.in", "r", stdin);
^
user.cpp:9:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &p);
^
user.cpp:13:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
user.cpp: In function ‘void write()’:
user.cpp:42:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perioada01.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 484kb | Incorect | 0 | 0 |
2 | 0ms | 484kb | Incorect | 0 |
3 | 0ms | 452kb | Incorect | 0 | 0 |
4 | 0ms | 452kb | Incorect | 0 |
5 | 28ms | 1432kb | Incorect | 0 | 0 |
6 | 28ms | 1432kb | Incorect | 0 |
7 | 248ms | 8896kb | Incorect | 0 | 0 |
8 | 260ms | 8896kb | Incorect | 0 |
9 | 240ms | 8896kb | Incorect | 0 |
10 | 252ms | 8896kb | Incorect | 0 |
Punctaj total | 0 |