Borderou de evaluare (job #2153284)

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

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
14ms12964kbOK10
28ms19104kbIncorect0
320ms19192kbKilled by signal 11(SIGSEGV).0
424ms19212kbKilled by signal 11(SIGSEGV).0
532ms19252kbKilled by signal 11(SIGSEGV).0
628ms19248kbKilled by signal 11(SIGSEGV).0
7144ms19984kbKilled by signal 11(SIGSEGV).0
8144ms19984kbKilled by signal 11(SIGSEGV).0
9144ms19984kbKilled by signal 11(SIGSEGV).0
100ms6812kbOK10
Punctaj total20

Ceva nu functioneaza?