Borderou de evaluare (job #980835)

Utilizator t.g.g.tt.g.g.t t.g.g.t Data 5 august 2013 18:31:58
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:18:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(in,"%d %d %d %d %d\n",&x,&a,&b,&m,&q); ^ user.cpp:18:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp:18:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long int*’ [-Wformat=] user.cpp:18:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘long int*’ [-Wformat=] user.cpp:18:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 7 has type ‘long int*’ [-Wformat=] user.cpp:53:51: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] for (int i=0;i<q;++i) fprintf(out,"%d ",rez[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms236kbIncorect0
20ms236kbIncorect0
30ms240kbIncorect0
476ms236kbIncorect0
572ms236kbIncorect0
640ms236kbIncorect0
748ms240kbIncorect0
8348ms236kbIncorect0
9Depăşit236kbTime limit exceeded.0
10Depăşit236kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?