Borderou de evaluare (job #1146550)

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

Raport evaluator

Compilare: user.cpp: In function ‘void search(int, int)’: user.cpp:6:28: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] if(st==sf){printf("%ld",st);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
10ms232kbOK10
20ms236kbOK10
30ms232kbOK10
40ms236kbOK10
54ms240kbOK10
64ms260kbOK10
74ms268kbOK10
84ms280kbOK10
98ms280kbOK10
108ms276kbOK10
Punctaj total100

Ceva nu functioneaza?