Borderou de evaluare (job #316163)

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

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 (*)[15]’ [-Wformat] user.cpp:40:27: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[15]’ [-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/ccVX8Eln.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 20 ms 8088 kb Bravo! 10
2 20 ms 8088 kb Bravo! 10
3 20 ms 8100 kb Bravo! 10
4 20 ms 8128 kb Bravo! 10
5 28 ms depășită Memory limit exceeded. 0
6 36 ms depășită Memory limit exceeded. 0
7 28 ms depășită Memory limit exceeded. 0
8 24 ms depășită Memory limit exceeded. 0
9 32 ms depășită Memory limit exceeded. 0
10 28 ms depășită Memory limit exceeded. 0
Punctaj total 40