Borderou de evaluare (job #1134693)

Utilizator lianaliana tucar liana Data 6 martie 2014 20:34:02
Problema Asmin Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:11:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld %ld",&n,&k); ^ user.cpp:11:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:14:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld %ld",&a,&b); ^ user.cpp:14:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:19:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&r[i]); ^ user.cpp: In function ‘void afisare()’: user.cpp:64:32: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld %ld\n",rez,nrez); ^ user.cpp:64:32: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] user.cpp:67:28: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld ",i); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms420kbOK5
20ms432kbOK5
30ms428kbOK5
40ms424kbOK5
50ms436kbOK5
64ms432kbOK5
74ms444kbOK5
84ms468kbOK5
912ms732kbOK5
1012ms764kbOK5
1112ms788kbOK5
1216ms816kbOK5
1320ms844kbOK5
1416ms864kbOK5
1520ms884kbOK5
1624ms900kbOK5
1720ms904kbOK5
1820ms908kbOK5
1924ms904kbOK5
2024ms908kbOK5
Punctaj total100

Ceva nu functioneaza?