Borderou de evaluare (job #1838434)

Utilizator MiricaMateiMirica Matei MiricaMatei Data 1 ianuarie 2017 00:06:56
Problema Livada Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:7:29: warning: variable ‘cons’ set but not used [-Wunused-but-set-variable] int n, m, p, maxcons = 1, cons, k = 0, ap, c; ^ user.cpp:7:42: warning: variable ‘ap’ set but not used [-Wunused-but-set-variable] int n, m, p, maxcons = 1, cons, k = 0, ap, c; ^ user.cpp:7:46: warning: variable ‘c’ set but not used [-Wunused-but-set-variable] int n, m, p, maxcons = 1, cons, k = 0, ap, c; ^ user.cpp:5:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("livada.in", "r", stdin); ^ user.cpp:6:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("livada.out", "w", stdout); ^ user.cpp:8:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &n, &m, &p); ^ user.cpp:10:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[1]); ^ user.cpp:15:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbRaspuns gresit!0
20ms264kbRaspuns gresit!0
30ms236kbWall time limit exceeded.0
40ms244kbWall time limit exceeded.0
50ms240kbWall time limit exceeded.0
60ms240kbWall time limit exceeded.0
70ms240kbWall time limit exceeded.0
80ms240kbWall time limit exceeded.0
90ms240kbWall time limit exceeded.0
100ms240kbWall time limit exceeded.0
Punctaj total0

Ceva nu functioneaza?