Borderou de evaluare (job #2153287)

Utilizator SoranaAureliaCatrina Sorana SoranaAurelia Data 6 martie 2018 09:12:47
Problema Livada3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int sim(int)’: user.cpp:19:15: warning: unused variable ‘t’ [-Wunused-variable] long long t; ^ user.cpp:20:9: warning: variable ‘ok’ set but not used [-Wunused-but-set-variable] int ok=0; ^ user.cpp: In function ‘int cautbin(int)’: user.cpp:47:11: warning: left operand of comma operator has no effect [-Wunused-value] for(i,lg;lg>0; lg>>=1) ^ user.cpp:47:13: warning: right operand of comma operator has no effect [-Wunused-value] for(i,lg;lg>0; lg>>=1) ^ user.cpp: In function ‘int main()’: user.cpp:56:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("livada3.in", "r", stdin); ^ user.cpp:57:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("livada3.out", "w", stdout); ^ user.cpp:59:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld %lld %lld %lld", &n, &m, &c, &r); ^ user.cpp:60:58: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld %lld %lld %lld %lld", &x, &y, &z, &w, &u); ^ user.cpp:63:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld ", &a[1][j]); ^ user.cpp:65:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld ", &a[i][1]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms10924kbOK10
212ms21164kbOK10
356ms21248kbOK10
472ms21264kbOK10
576ms21304kbOK10
692ms21308kbOK10
7Depăşit22044kbTime limit exceeded.0
8Depăşit22036kbTime limit exceeded.0
9Depăşit22040kbTime limit exceeded.0
100ms4776kbOK10
Punctaj total70

Ceva nu functioneaza?