Borderou de evaluare (job #1146543)

Utilizator iarbaCrestez Paul iarba Data 19 martie 2014 08:45:54
Problema Transport Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void search(int, int)’: user.cpp:6:30: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] if(st==sf){printf("%ld",st+1);return;} ^ user.cpp: In function ‘int main()’: user.cpp:32:22: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld",&n,&k); ^ user.cpp:32:22: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:33:37: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] for(i=1;i<=n;i++){scanf("%ld",&a[i]);s+=a[i];} ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms232kbIncorect0
20ms236kbIncorect0
30ms232kbIncorect0
40ms232kbIncorect0
54ms240kbIncorect0
64ms252kbIncorect0
74ms268kbIncorect0
84ms276kbIncorect0
98ms272kbIncorect0
108ms272kbIncorect0
Punctaj total0

Ceva nu functioneaza?