Pagini recente » Borderou de evaluare (job #2213027) | Borderou de evaluare (job #782419) | Borderou de evaluare (job #1713291) | Borderou de evaluare (job #3305134) | Borderou de evaluare (job #1230290)
Borderou de evaluare (job #1230290)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:14: warning: comparison with string literal results in unspecified behaviour [-Waddress]
if (cuv=="beep") {puts(s); return 0;}
^
user.cpp:8:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("beep.in","r",stdin);
^
user.cpp:9:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("beep.out","w",stdout);
^
user.cpp:10:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(cuv); gets(s);
^
user.cpp:10:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(cuv); gets(s);
^
/tmp/ccbNWsR3.o: In function `main':
user.cpp:(.text.startup+0x54): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 208kb | OK | 10 | 100 |
| 2 | 0ms | 204kb | OK | 10 |
| 3 | 0ms | 216kb | OK | 10 |
| 4 | 0ms | 216kb | OK | 10 |
| 5 | 0ms | 212kb | OK | 10 |
| 6 | 0ms | 212kb | OK | 10 |
| 7 | 0ms | 208kb | OK | 10 |
| 8 | 0ms | 216kb | OK | 10 |
| 9 | 0ms | 212kb | OK | 10 |
| 10 | 0ms | 208kb | OK | 10 |
| Punctaj total | 100 |