Borderou de evaluare (job #165710)

Utilizator avatar stefan Stefan Creasta stefan IP ascuns
Problemă Zigzag (clasa a 7-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 15 nov. 2015 16:12:26 Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:65:29: warning: NULL used in arithmetic [-Wpointer-arith] user.cpp:70:29: warning: NULL used in arithmetic [-Wpointer-arith] user.cpp:10:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:11:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:12:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:13:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:62:5: warning: ‘limit’ may be used uninitialized in this function [-Wuninitialized] /tmp/ccWgD24G.o: In function `main': user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 456 kb OK 10
2 0 ms 388 kb Incorect 0
3 depășit 256 kb Time limit exceeded. 0
4 0 ms 344 kb Incorect 0
5 12 ms depășită Memory limit exceeded. 0
6 40 ms depășită Memory limit exceeded. 0
7 8 ms 668 kb Incorect 0
8 56 ms depășită Memory limit exceeded. 0
9 16 ms depășită Memory limit exceeded. 0
10 0 ms 268 kb Incorect 0
Punctaj total 10