Borderou de evaluare (job #1681232)

Utilizator SolcanMihaiSolcan Mihai Andrei SolcanMihai Data 9 aprilie 2016 12:31:01
Problema Joc19 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:396:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("joc19.in", "r", stdin); ^ user.cpp:397:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("joc19.out", "w", stdout); ^ user.cpp: In member function ‘void Cub::citire()’: user.cpp:46:77: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d", &top[0][0], &top[0][1], &top[1][0], &top[1][1]); ^ user.cpp:47:85: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d", &right[0][1], &right[1][1], &right[0][0], &right[1][0]); ^ user.cpp:48:85: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d", &front[0][0], &front[0][1], &front[1][0], &front[1][1]); ^ user.cpp:49:81: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d", &back[1][1], &back[1][0], &back[0][1], &back[0][0]); ^ user.cpp:50:81: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d", &left[1][0], &left[0][0], &left[1][1], &left[0][1]); ^ user.cpp:51:89: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d", &bottom[0][1], &bottom[0][0], &bottom[1][1], &bottom[1][0]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1580ms452kbCorect!10
2592ms452kbCorect!10
3576ms456kbCorect!10
4572ms456kbCorect!10
5568ms456kbCorect!10
6568ms448kbCorect!10
7576ms456kbCorect!10
8580ms456kbCorect!10
9572ms456kbCorect!10
10572ms448kbCorect!10
Punctaj total100

Ceva nu functioneaza?