Borderou de evaluare (job #1520285)

Utilizator mihaidanielmihai daniel mihaidaniel Data 8 noiembrie 2015 16:18:22
Problema Subsecventa de suma maxima Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=] scanf( "%d%d", &n , &v[1] ); ^ user.cpp:12:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=] scanf( "%d", &v[i] ); ^ user.cpp:6:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen( "ssm.in", "r", stdin ); ^ user.cpp:7:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen( "ssm.out", "w", stdout ); ^ user.cpp:9:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf( "%d%d", &n , &v[1] ); ^ user.cpp:12:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf( "%d", &v[i] ); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbOK5
20ms268kbOK5
30ms256kbOK5
40ms264kbOK5
516ms268kbOK5
664ms280kbOK5
7264ms288kbOK5
8632ms296kbOK5
9Depăşit340kbTime limit exceeded.0
1020ms336kbWall time limit exceeded.0
1120ms336kbWall time limit exceeded.0
1224ms340kbWall time limit exceeded.0
1324ms336kbWall time limit exceeded.0
1420ms340kbWall time limit exceeded.0
1520ms336kbWall time limit exceeded.0
1620ms340kbWall time limit exceeded.0
1720ms340kbWall time limit exceeded.0
1820ms340kbWall time limit exceeded.0
1920ms336kbWall time limit exceeded.0
2020ms340kbWall time limit exceeded.0
Punctaj total40

Ceva nu functioneaza?