Borderou de evaluare (job #88419)

Utilizator avatar andru47 Stefanescu Andru andru47 IP ascuns
Problemă Diagonal (clasa a 6-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 15 nov. 2014 13:56:59 Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:13:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] user.cpp:8:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:9:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:10:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:15:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] In file included from /usr/include/stdio.h:934:0, from /usr/include/c++/4.6/cstdio:44, from user.cpp:1: In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:15:19: /usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default] /tmp/cc4sH0vd.o: In function `main': user.cpp:(.text.startup+0xe8): warning: the `gets' function is dangerous and should not be used. user.cpp:(.text.startup+0x60): warning: the `gets' function is dangerous and should not be used.
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 216 kb OK 10
2 0 ms 208 kb OK 10
3 0 ms 212 kb OK 10
4 0 ms 212 kb OK 10
5 0 ms 216 kb OK 10
6 0 ms 212 kb a) rezultat incorect; b) rezultat incorect; 0
7 0 ms 212 kb a) rezultat incorect; b) rezultat incorect; 0
8 0 ms 220 kb a) rezultat incorect; b) rezultat incorect; 0
9 0 ms 224 kb a) rezultat incorect; b) rezultat incorect; 0
10 0 ms 220 kb a) rezultat incorect; b) rezultat incorect; 0
Punctaj total 50