Borderou de evaluare (job #1403891)

Utilizator gapdanPopescu George gapdan Data 27 martie 2015 17:16:10
Problema Revolutie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘bool cupleaza(int)’: user.cpp:17:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0 ; i < v[nod].size(); ++i) ^ user.cpp: In function ‘int main()’: user.cpp:56:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < v[i].size(); ++j) ^ user.cpp:43:16: warning: unused variable ‘ok’ [-Wunused-variable] int nr = 0,ok=0; ^ user.cpp:31:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("revolutie.in","r",stdin); ^ user.cpp:32:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("revolutie.out","w",stdout); ^ user.cpp:33:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:37:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms276kbRaspuns gresit0
20ms284kbRaspuns gresit0
30ms276kbRaspuns gresit0
40ms288kbRaspuns gresit0
50ms300kbRaspuns gresit0
60ms324kbRaspuns gresit0
70ms328kbRaspuns gresit0
84ms356kbRaspuns gresit0
94ms400kbRaspuns gresit0
108ms412kbCorect10
Punctaj total10

Ceva nu functioneaza?