Borderou de evaluare (job #1508813)

Utilizator George-AndreiGeorge Andrei George-Andrei Data 22 octombrie 2015 23:40:16
Problema Jocul Flip Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘void back(int)’: user.cpp:22:11: warning: unused variable ‘i’ [-Wunused-variable] int val, i, x; ^ user.cpp: In function ‘int main()’: user.cpp:44:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d", &v[i][j]); ^ user.cpp:49:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d", MAX); ^ user.cpp:37:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("flip.in", "r", stdin); ^ user.cpp:38:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("flip.out", "w", stdout); ^ user.cpp:39:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:40:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^ user.cpp:44:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbOk!10
228ms264kbOk!10
324ms260kbOk!10
48ms260kbOk!10
5Depăşit240kbTime limit exceeded.0
6Depăşit232kbTime limit exceeded.0
7Depăşit232kbTime limit exceeded.0
8Depăşit232kbTime limit exceeded.0
9Depăşit236kbTime limit exceeded.0
10Depăşit240kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?