Borderou de evaluare (job #1130466)

Utilizator lianaliana tucar liana Data 28 februarie 2014 13:24:54
Problema Diametrul unui arbore Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:12:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&n); ^ user.cpp:15:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld %ld",&x,&y); ^ user.cpp:15:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp: In function ‘int main()’: user.cpp:46:30: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld",dist[co[sf]]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms1408kbOK10
24ms1408kbOK10
34ms1412kbOK10
44ms1440kbOK10
516ms1688kbOK10
636ms2372kbOK10
756ms2772kbOK10
892ms3496kbOK10
984ms3572kbOK10
10124ms4140kbOK10
Punctaj total100

Ceva nu functioneaza?