Pagini recente » Monitorul de evaluare | Borderou de evaluare (job #548563) | Borderou de evaluare (job #2633969) | Borderou de evaluare (job #3306921) | Borderou de evaluare (job #1560034)
Borderou de evaluare (job #1560034)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:17:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp: In function ‘void rsw()’:
user.cpp:70:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("doi.in", "r", stdin);
^
user.cpp:71:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("doi.out", "w", stdout);
^
user.cpp:72:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &t);
^
/tmp/ccS1pTh1.o: In function `read()':
user.cpp:(.text+0x76): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 440kb | OK | 10 |
| 2 | 0ms | 448kb | Incorect | 0 |
| 3 | 0ms | 444kb | Incorect | 0 |
| 4 | 0ms | 444kb | Incorect | 0 |
| 5 | 0ms | 444kb | Incorect | 0 |
| 6 | 8ms | 440kb | Incorect | 0 |
| 7 | 36ms | 448kb | Incorect | 0 |
| 8 | 4ms | 444kb | Incorect | 0 |
| 9 | 32ms | 448kb | Incorect | 0 |
| 10 | 12ms | 444kb | Incorect | 0 |
| Punctaj total | 10 |