Borderou de evaluare (job #2153285)

Utilizator SoranaAureliaCatrina Sorana SoranaAurelia Data 6 martie 2018 09:12:07
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:46:11: warning: left operand of comma operator has no effect [-Wunused-value] for(i,lg;lg>0; lg>>=1) ^ user.cpp:46: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:55: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:56: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:58: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:59: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:62: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:64: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
14ms10928kbOK10
212ms21160kbOK10
356ms21252kbOK10
472ms21264kbOK10
576ms21308kbOK10
692ms21308kbOK10
7Depăşit22040kbTime limit exceeded.0
8Depăşit22036kbTime limit exceeded.0
9Depăşit22040kbTime limit exceeded.0
100ms4776kbOK10
Punctaj total70

Ceva nu functioneaza?