Borderou de evaluare (job #1960100)

Utilizator Alex_AeleneiAlex Aelenei Ioan Alex_Aelenei Data 10 aprilie 2017 10:44:48
Problema Beri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:26:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d",s); ^ user.cpp:34:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d",s); ^ user.cpp:9:19: warning: unused variable ‘a’ [-Wunused-variable] long long n,k,a,i,q,x,y,z,s=0,sum=0; ^ user.cpp:7:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("beri.in","r",stdin); ^ user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("beri.out","w",stdout); ^ user.cpp:10:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld",&n,&k); ^ user.cpp:11:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld%lld%lld",&q,&x,&y,&z); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms436kbIncorect0
20ms444kbIncorect0
30ms480kbIncorect0
48ms828kbIncorect0
552ms2396kbIncorect0
6Depăşit4344kbTime limit exceeded.0
7Depăşit6252kbTime limit exceeded.0
8Depăşit7432kbTime limit exceeded.0
9Depăşit7820kbTime limit exceeded.0
10Depăşit8208kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?