Pagini recente » Borderou de evaluare (job #2723676) | Borderou de evaluare (job #1939568) | Borderou de evaluare (job #418832) | Borderou de evaluare (job #1810300) | Borderou de evaluare (job #1560249)
Borderou de evaluare (job #1560249)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:9:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp: In function ‘void rsw()’:
user.cpp:25:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kbiti.in", "r", stdin);
^
user.cpp:26:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kbiti.out", "w", stdout);
^
user.cpp:27:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &t);
^
/tmp/ccfy6eCE.o: In function `read()':
user.cpp:(.text+0x13): 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 | 444kb | OK | 10 |
| 3 | 0ms | 448kb | OK | 10 |
| 4 | 0ms | 444kb | OK | 10 |
| 5 | 0ms | 440kb | OK | 10 |
| 6 | 4ms | 444kb | OK | 10 |
| 7 | 16ms | 444kb | OK | 10 |
| 8 | 28ms | 448kb | OK | 10 |
| 9 | 60ms | 440kb | OK | 10 |
| 10 | 60ms | 444kb | Incorect | 0 |
| Punctaj total | 90 |