Pagini recente » Cod sursa (job #2354246) | Borderou de evaluare (job #1159135) | Borderou de evaluare (job #1797316) | Borderou de evaluare (job #1842649) | Borderou de evaluare (job #1563753)
Borderou de evaluare (job #1563753)
Raport evaluator
Compilare:
user.cpp: In function ‘void Read()’:
user.cpp:75:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(tmp);
^
user.cpp: In function ‘int main()’:
user.cpp:102:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reteta2.in", "r", stdin);
^
user.cpp:103:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reteta2.out", "w", stdout);
^
/tmp/ccUDEeb4.o: In function `Read()':
user.cpp:(.text+0x14d): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 280kb | OK! | 10 |
| 2 | 0ms | 280kb | OK! | 10 |
| 3 | 0ms | 284kb | OK! | 10 |
| 4 | 0ms | 284kb | Raspuns Gresit | 0 |
| 5 | 0ms | 280kb | OK! | 10 |
| 6 | 0ms | 284kb | OK! | 10 |
| 7 | 0ms | 280kb | OK! | 10 |
| 8 | 0ms | 288kb | OK! | 10 |
| 9 | 0ms | 280kb | OK! | 10 |
| 10 | 0ms | 284kb | OK! | 10 |
| Punctaj total | 90 |