Borderou de evaluare (job #7701)

Utilizator avatar Alexandru098 Costea Vlad Alexandru Alexandru098 IP ascuns
Problemă Dictionar Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 1 feb. 2013 18:47:51 Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:81:27: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[15]’ [-Wformat] user.cpp:82:30: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[15]’ [-Wformat] user.cpp:75:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:76:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:77:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:78:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:81:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:82:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp: In function ‘int cb(char*)’: user.cpp:44:1: warning: control reaches end of non-void function [-Wreturn-type] /tmp/ccsdd5UL.o: In function `main': user.cpp:(.text.startup+0x55): warning: the `gets' function is dangerous and should not be used.
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 276 kb Bravo! 10
2 0 ms 280 kb Bravo! 10
3 4 ms 304 kb Bravo! 10
4 12 ms 320 kb Bravo! 10
5 56 ms 464 kb Bravo! 10
6 depășit 524 kb Time limit exceeded. 0
7 depășit 640 kb Time limit exceeded. 0
8 depășit 968 kb Time limit exceeded. 0
9 depășit 1040 kb Time limit exceeded. 0
10 depășit 1072 kb Time limit exceeded. 0
Punctaj total 50