Borderou de evaluare (job #2153303)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:52:11: warning: left operand of comma operator has no effect [-Wunused-value] for(i,lg;lg>0; lg>>=1) ^ user.cpp:52:13: warning: right operand of comma operator has no effect [-Wunused-value] for(i,lg;lg>0; lg>>=1) ^ user.cpp:57:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=] printf("%d ", i); ^ user.cpp:36: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:37: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:39:94: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld %lld %lld %lld %lld %lld %lld %lld %lld", &n, &m, &c, &r, &x, &y, &z, &w, &u); ^ user.cpp:42: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:44: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
14ms10920kbOK10
212ms21164kbOK10
356ms21248kbOK10
472ms21264kbOK10
576ms21304kbOK10
692ms21308kbOK10
7Depăşit22036kbTime limit exceeded.0
8Depăşit22040kbTime limit exceeded.0
9Depăşit22040kbTime limit exceeded.0
100ms4772kbOK10
Punctaj total70

Ceva nu functioneaza?