Borderou de evaluare (job #1458222)

Utilizator atatomirTatomir Alex atatomir Data 7 iulie 2015 10:08:27
Problema Mosia Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:68:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&n); ^ user.cpp:65:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("mosia.in","r",stdin); ^ user.cpp:66:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("mosia.out","w",stdout); ^ user.cpp:68:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&n); ^ user.cpp: In member function ‘void Point::read()’: user.cpp:13:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] void read(){scanf("%d %d %d",&x,&y,&d);} ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms448kbCorect5
20ms460kbCorect5
30ms460kbCorect5
40ms452kbCorect5
50ms464kbCorect5
60ms456kbCorect5
70ms456kbCorect5
80ms452kbCorect5
90ms460kbCorect5
100ms464kbCorect5
110ms468kbCorect5
120ms472kbCorect5
130ms464kbCorect5
140ms468kbCorect5
150ms468kbCorect5
160ms468kbCorect5
170ms468kbCorect5
180ms472kbCorect5
190ms472kbCorect5
200ms468kbCorect5
Punctaj total100

Ceva nu functioneaza?