Borderou de evaluare (job #1767866)

Utilizator giotoPopescu Ioan gioto Data 29 septembrie 2016 20:38:14
Problema ExpectedPos Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:24:19: warning: statement has no effect [-Wunused-value] for(i1;i1<=r;++i1) ^ user.cpp:29:15: warning: statement has no effect [-Wunused-value] for(i2;i2<=l;++i2) ^ user.cpp:9:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("expectedpos.in", "r", stdin); ^ user.cpp:10:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("expectedpos.out", "w", stdout); ^ user.cpp:11:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &k); ^ user.cpp:13:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &r); ^ user.cpp:15:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &b[j]); ^ user.cpp:32:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] }scanf("%d", &m); ^ user.cpp:34:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1056kbOK10
20ms1056kbOK10
3116ms1052kbOK10
4Depăşit1060kbTime limit exceeded.0
596ms1064kbOK10
6Depăşit1040kbTime limit exceeded.0
7Depăşit1040kbTime limit exceeded.0
8Depăşit1296kbTime limit exceeded.0
9Depăşit1312kbTime limit exceeded.0
10Depăşit1308kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?