Pagini recente » Profil 700_or_disband | Borderou de evaluare (job #1371394) | Borderou de evaluare (job #1451449) | Borderou de evaluare (job #2812140) | Borderou de evaluare (job #1814093)
Borderou de evaluare (job #1814093)
Raport evaluator
Compilare:
user.cpp: In function ‘void ReadVariables()’:
user.cpp:32:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &n);
^
user.cpp:36:45: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (sir + 1), L = strlen (sir + 1);
^
user.cpp: In function ‘int main()’:
user.cpp:146:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("eval.in", "r", stdin);
^
user.cpp:147:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("eval.out", "w", stdout);
^
user.cpp:151:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (sir + 1);
^
/tmp/ccUoF4Rl.o: In function `ReadVariables()':
user.cpp:(.text+0x129): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 68ms | 488kb | OK | 10 |
| 2 | 68ms | 492kb | OK | 10 |
| 3 | 68ms | 480kb | Incorect | 0 |
| 4 | 284ms | 1872kb | OK | 10 |
| 5 | 200ms | 564kb | OK | 10 |
| 6 | 180ms | 532kb | OK | 10 |
| 7 | 212ms | 540kb | OK | 10 |
| 8 | 380ms | 624kb | OK | 10 |
| 9 | 356ms | 620kb | OK | 10 |
| 10 | 384ms | 620kb | OK | 10 |
| Punctaj total | 90 |