Borderou de evaluare (job #179094)

Utilizator avatar lauratalaat Laura Talaat lauratalaat IP ascuns
Problemă Dictionar Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 9 ian. 2016 21:05:34 Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:13:39: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[11]’ [-Wformat] user.cpp:13:39: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[11]’ [-Wformat] user.cpp:46:22: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:9:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:10:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:11:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:13:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] /tmp/cc8JKaP0.o: In function `main': user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 268 kb Ai gresit traducerea! 2
2 0 ms 268 kb Ai gresit traducerea! 2
3 4 ms 284 kb Ai gresit traducerea! 2
4 8 ms 304 kb Ai gresit traducerea! 2
5 68 ms 420 kb Ai gresit traducerea! 2
6 depășit 452 kb Time limit exceeded. 0
7 depășit 532 kb Time limit exceeded. 0
8 depășit 780 kb Time limit exceeded. 0
9 depășit 852 kb Time limit exceeded. 0
10 depășit 880 kb Time limit exceeded. 0
Punctaj total 10