Borderou de evaluare (job #1617748)

Utilizator pas.andreiPopovici Andrei-Sorin pas.andrei Data 27 februarie 2016 16:10:01
Problema Qxy Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:36:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d", &v[i]); ^ user.cpp:34:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:36:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[i]); ^ user.cpp:46:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^ user.cpp:49:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d", &l, &r, &a, &b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
148ms2864kbOK5
256ms3656kbOK5
360msDepăşitMemory limit exceeded.0
420ms932kbOK5
552ms3244kbOK5
656ms6512kbOK5
748ms6572kbOK5
828ms2928kbOK5
932ms2428kbOK5
1012msDepăşitMemory limit exceeded.0
1112msDepăşitMemory limit exceeded.0
1212msDepăşitMemory limit exceeded.0
1312msDepăşitMemory limit exceeded.0
1412msDepăşitMemory limit exceeded.0
1512msDepăşitMemory limit exceeded.0
1612msDepăşitMemory limit exceeded.0
1712msDepăşitMemory limit exceeded.0
1812msDepăşitMemory limit exceeded.0
1912msDepăşitMemory limit exceeded.0
2012msDepăşitMemory limit exceeded.0
Punctaj total40

Ceva nu functioneaza?