Borderou de evaluare (job #295184)

Utilizator avatar cyg_andrei Andrei Bancila cyg_andrei IP ascuns
Problemă Nod (clasa a 7-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 23 mar. 2017 06:50:50 Scor 50

Raport evaluator

Compilare: user.cpp: In function 'void mycopy(std::string, char*)': user.cpp:53:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] user.cpp: In function 'int RomanToInt(char*)': user.cpp:59:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] user.cpp:61:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] user.cpp: In function 'int main()': user.cpp:146:13: warning: unused variable 'c' [-Wunused-variable] user.cpp:85:24: warning: unused variable 'P' [-Wunused-variable] user.cpp:85:26: warning: unused variable 'R' [-Wunused-variable] user.cpp:85:28: warning: unused variable 'C' [-Wunused-variable] user.cpp:83:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] user.cpp:84:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] user.cpp:86:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] user.cpp:111:20: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result [-Wunused-result] user.cpp:145:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] user.cpp: In function 'int value(char)': user.cpp:32:1: warning: control reaches end of non-void function [-Wreturn-type] /tmp/cc0zaG8Q.o: In function `main': user.cpp:(.text.startup+0x81): warning: the `gets' function is dangerous and should not be used.
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 4 ms 1680 kb OK 10
2 4 ms 1676 kb OK 10
3 4 ms 1684 kb OK 10
4 4 ms 1696 kb OK 10
5 12 ms 1848 kb OK 10
6 32 ms depășită Memory limit exceeded. 0
7 32 ms depășită Memory limit exceeded. 0
8 32 ms depășită Memory limit exceeded. 0
9 32 ms depășită Memory limit exceeded. 0
10 32 ms depășită Memory limit exceeded. 0
Punctaj total 50