Borderou de evaluare (job #1222811)

Utilizator ion824Ion Ureche ion824 Data 24 august 2014 14:18:44
Problema Sir4 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:45:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%I64d%I64d%I64d%d%d",&X0,&A,&B,&M,&Q); ^ user.cpp:45:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:45:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:66:9: warning: unused variable ‘l’ [-Wunused-variable] int x, l, r, L, nr, aux = PStart, LO = 0; ^ user.cpp:66:12: warning: unused variable ‘r’ [-Wunused-variable] int x, l, r, L, nr, aux = PStart, LO = 0; ^ user.cpp:66:36: warning: unused variable ‘LO’ [-Wunused-variable] int x, l, r, L, nr, aux = PStart, LO = 0; ^ user.cpp:40:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sir4.in","r",stdin); ^ user.cpp:41:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sir4.out","w",stdout); ^ user.cpp:45:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%I64d%I64d%I64d%d%d",&X0,&A,&B,&M,&Q); ^ user.cpp:76:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms304kbIncorect0
20ms312kbIncorect0
30ms320kbIncorect0
448msDepăşitMemory limit exceeded.0
532msDepăşitMemory limit exceeded.0
68msDepăşitMemory limit exceeded.0
740msDepăşitMemory limit exceeded.0
848msDepăşitMemory limit exceeded.0
948msDepăşitMemory limit exceeded.0
1048msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?