Borderou de evaluare (job #1142515)

Utilizator lianaliana tucar liana Data 13 martie 2014 21:44:59
Problema Secventa 5 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:15:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld %ld %ld",&n,&l,&u); ^ user.cpp:15:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:15:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:18:24: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘unsigned int*’ [-Wformat=] scanf("%lld",&x); ^ user.cpp: In function ‘int main()’: user.cpp:59:45: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld",calculare(u)-calculare(l-1)); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms8044kbOK10
216ms8080kbOK10
320ms8200kbOK10
452ms8856kbOK10
564ms8636kbIncorect0
6192ms11220kbOK10
7444ms12976kbIncorect0
8524ms13072kbIncorect0
9776ms19636kbIncorect0
10828ms26052kbIncorect0
Punctaj total50

Ceva nu functioneaza?