Borderou de evaluare (job #316167)

Utilizator avatar Moldovan Moldovan andrei Moldovan IP ascuns
Problemă Dictionar Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 11 oct. 2017 10:10:13 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/ccsWlkMk.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 268 kb Bravo! 10
2 0 ms 272 kb Bravo! 10
3 0 ms 292 kb Bravo! 10
4 0 ms 312 kb Bravo! 10
5 8 ms 476 kb Bravo! 10
6 16 ms 524 kb Bravo! 10
7 32 ms 604 kb Bravo! 10
8 72 ms 1128 kb Bravo! 10
9 92 ms 1360 kb Bravo! 10
10 88 ms 1432 kb Bravo! 10
Punctaj total 100