Pagini recente » Borderou de evaluare (job #871410) | Borderou de evaluare (job #460575) | Borderou de evaluare (job #192936) | Borderou de evaluare (job #2040988) | Borderou de evaluare (job #1487115)
Borderou de evaluare (job #1487115)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:12:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("parantezare.in", "r", stdin);
^
user.cpp:13:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("parantezare.out", "w", stdout);
^
user.cpp:14:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:16:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:19:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
/tmp/ccnMJ2Af.o: In function `read()':
user.cpp:(.text+0x4d): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 268kb | OK | 10 |
| 2 | 0ms | 284kb | Incorect | 0 |
| 3 | 0ms | 284kb | Incorect | 0 |
| 4 | 0ms | 288kb | Incorect | 0 |
| 5 | 0ms | 284kb | Incorect | 0 |
| 6 | 0ms | 284kb | Incorect | 0 |
| 7 | 0ms | 304kb | Incorect | 0 |
| 8 | 0ms | 296kb | Incorect | 0 |
| 9 | 0ms | 488kb | Incorect | 0 |
| 10 | 4ms | 516kb | Incorect | 0 |
| Punctaj total | 10 |