Borderou de evaluare (job #1767864)

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

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:35:23: warning: unused variable ‘j’ [-Wunused-variable] int st=1,dr=n,j=1,sol=n; ^ 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
10ms1052kbIncorect0
20ms1060kbIncorect0
3116ms1060kbIncorect0
4Depăşit1060kbTime limit exceeded.0
5100ms1068kbIncorect0
6Depăşit1040kbTime limit exceeded.0
7Depăşit1044kbTime limit exceeded.0
8Depăşit1296kbTime limit exceeded.0
9Depăşit1312kbTime limit exceeded.0
10Depăşit1304kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?