Borderou de evaluare (job #1847187)

Utilizator zdavid112zIon David-Gabriel zdavid112z Data 14 ianuarie 2017 13:11:47
Problema Suman Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:29:30: warning: variable ‘nb’ set but not used [-Wunused-but-set-variable] llong n, k, v[21], i, j, nb, f, rez = 0; ^ user.cpp:29:34: warning: variable ‘f’ set but not used [-Wunused-but-set-variable] llong n, k, v[21], i, j, nb, f, rez = 0; ^ user.cpp:30:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("suman.in", "r", stdin); ^ user.cpp:31:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("suman.out", "w", stdout); ^ user.cpp:32:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld", &n, &k); ^ user.cpp:35:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(i = 0; i < k; i++) scanf("%lld", &v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms272kbOK1030
20ms276kbOK10
30ms276kbOK10
4264ms9484kbOK100
5Depăşit9292kbTime limit exceeded.0
60ms276kbOK10
70ms284kbOK10
8Depăşit5080kbTime limit exceeded.0
9Depăşit6424kbTime limit exceeded.0
10Depăşit5324kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?