Borderou de evaluare (job #1949587)

Utilizator blatulInstitutul de Arta Gastronomica blatul Data 2 aprilie 2017 11:40:42
Problema Suma6 Status done
Runda Urmasii lui Moisil 2016, Clasa a 10-a Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:38:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("suma6.in", "r", stdin); ^ user.cpp:39:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("suma6.out", "w", stdout); ^ user.cpp:42:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &s); ^ user.cpp:43:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int i = 0; i < n; i++) scanf("%d", a + i); ^ user.cpp:45:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &q); ^ user.cpp:48:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
172ms2196kbWall time limit exceeded.0
276ms2192kbWall time limit exceeded.0
30ms1852kbOK10
476ms2196kbWall time limit exceeded.0
580ms2192kbWall time limit exceeded.0
676ms2192kbWall time limit exceeded.0
776ms2196kbWall time limit exceeded.0
876ms2192kbWall time limit exceeded.0
976ms2200kbWall time limit exceeded.0
1072ms2196kbWall time limit exceeded.0
Punctaj total10

Ceva nu functioneaza?