Borderou de evaluare (job #295183)

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:42:51 Scor 0

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/ccxiTxID.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 8 ms depășită Memory limit exceeded. 0
2 8 ms depășită Memory limit exceeded. 0
3 8 ms depășită Memory limit exceeded. 0
4 8 ms depășită Memory limit exceeded. 0
5 8 ms depășită Memory limit exceeded. 0
6 4 ms depășită Memory limit exceeded. 0
7 8 ms depășită Memory limit exceeded. 0
8 8 ms depășită Memory limit exceeded. 0
9 8 ms depășită Memory limit exceeded. 0
10 8 ms depășită Memory limit exceeded. 0
Punctaj total 0