Pagini recente » Borderou de evaluare (job #2066921) | Cod sursa (job #855372) | Borderou de evaluare (job #2129899) | Borderou de evaluare (job #250711) | Borderou de evaluare (job #1560628)
Borderou de evaluare (job #1560628)
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/cc3rVc64.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 | 448kb | OK | 10 |
| 3 | 0ms | 448kb | OK | 10 |
| 4 | 0ms | 448kb | OK | 10 |
| 5 | 0ms | 444kb | OK | 10 |
| 6 | 8ms | 452kb | OK | 10 |
| 7 | 24ms | 452kb | OK | 10 |
| 8 | 40ms | 444kb | OK | 10 |
| 9 | 80ms | 448kb | OK | 10 |
| 10 | 80ms | 444kb | OK | 10 |
| Punctaj total | 100 |