Borderou de evaluare (job #316166)

Utilizator avatar Moldovan Moldovan andrei Moldovan IP ascuns
Problemă Dictionar Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 11 oct. 2017 10:09:33 Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int h(char*)’: user.cpp:13:11: warning: unused variable ‘base’ [-Wunused-variable] user.cpp: In function ‘int main()’: user.cpp:40:27: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[11]’ [-Wformat] user.cpp:40:27: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[11]’ [-Wformat] user.cpp:20:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:21:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:23:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:35:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:40:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] /tmp/ccjdqOYD.o: In function `main': user.cpp:(.text.startup+0x68): warning: the `gets' function is dangerous and should not be used.
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 392 kb Bravo! 10
2 0 ms 396 kb Bravo! 10
3 0 ms 408 kb Bravo! 10
4 0 ms 432 kb Bravo! 10
5 8 ms 580 kb Bravo! 10
6 12 ms 668 kb Bravo! 10
7 20 ms 808 kb Bravo! 10
8 40 ms 1196 kb Bravo! 10
9 44 ms 1336 kb Bravo! 10
10 48 ms 1392 kb Bravo! 10
Punctaj total 100