Borderou de evaluare (job #1551010)

Utilizator StarGold2Emanuel Nrx StarGold2 Data 15 decembrie 2015 01:04:44
Problema Petrica Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:46:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("petrica.in" ,"r", stdin ); ^ user.cpp:47:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("petrica.out","w", stdout); ^ user.cpp:49:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &nrNodes); ^ user.cpp:51:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &NrCitizens[i]); ^ user.cpp:54:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d", &node1, &node2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms300kbOK!10
20ms308kbOK!10
30ms336kbOK!10
40ms348kbOK!10
54ms376kbOK!10
616ms396kbOK!10
724ms468kbOK!10
8172ms512kbOK!10
9196ms508kbOK!10
10184ms504kbOK!10
Punctaj total100

Ceva nu functioneaza?