Pagini recente » Monitorul de evaluare | Borderou de evaluare (job #1477354) | Borderou de evaluare (job #2398979) | Monitorul de evaluare | Borderou de evaluare (job #1563605)
Borderou de evaluare (job #1563605)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:14:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("restante.in", "r", stdin);
^
user.cpp:15:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:18:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp: In function ‘void write()’:
user.cpp:41:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("restante.out", "w", stdout);
^
/tmp/cc6swj5d.o: In function `read()':
user.cpp:(.text+0x5e): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 472kb | OK | 10 |
| 2 | 0ms | 472kb | OK | 10 |
| 3 | 0ms | 512kb | OK | 10 |
| 4 | 0ms | 532kb | Incorect | 0 |
| 5 | 0ms | 536kb | Incorect | 0 |
| 6 | 8ms | 548kb | Incorect | 0 |
| 7 | 8ms | 552kb | Incorect | 0 |
| 8 | 4ms | 544kb | Incorect | 0 |
| 9 | 4ms | 552kb | Incorect | 0 |
| 10 | 4ms | 552kb | Incorect | 0 |
| Punctaj total | 30 |