Borderou de evaluare (job #1505350)

Utilizator George-AndreiGeorge Andrei George-Andrei Data 19 octombrie 2015 00:44:01
Problema Jocul Flip Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘void maxim()’: user.cpp:31:6: warning: unused variable ‘i’ [-Wunused-variable] int i, x, j; ^ user.cpp:31:12: warning: unused variable ‘j’ [-Wunused-variable] int i, x, j; ^ user.cpp: In function ‘int main()’: user.cpp:56:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d", &v[i][j]); ^ user.cpp:61:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d", MAX); ^ user.cpp:49: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:50: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:51:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:52:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^ user.cpp:56: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
284ms268kbOk!10
376ms268kbOk!10
432ms260kbOk!10
5Depăşit240kbTime limit exceeded.0
6Depăşit240kbTime limit exceeded.0
7Depăşit240kbTime limit exceeded.0
8Depăşit240kbTime limit exceeded.0
9Depăşit236kbTime limit exceeded.0
10Depăşit240kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?