Borderou de evaluare (job #71930)

Utilizator avatar AlexVlad Niculae Alexandru Vlad AlexVlad IP ascuns
Problemă Capitala Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 30 mai 2014 08:51:21 Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘void inc(int)’: user.cpp:19:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] user.cpp: In function ‘int main()’: user.cpp:30:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:31:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:33:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:37:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:45:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] /tmp/ccTE1e2P.o: In function `main': user.cpp:(.text.startup+0x90): warning: the `gets' function is dangerous and should not be used.
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 1444 kb Incorect 0
2 4 ms 1468 kb OK 10
3 8 ms 1576 kb OK 10
4 8 ms 1656 kb OK 10
5 84 ms 2676 kb OK 10
6 72 ms 2896 kb Incorect 0
7 depășit 3240 kb Time limit exceeded. 0
8 180 ms depășită Memory limit exceeded. 0
9 depășit 4016 kb Time limit exceeded. 0
10 184 ms depășită Memory limit exceeded. 0
Punctaj total 40