Borderou de evaluare (job #1100608)

Utilizator alexandrutarcanTarcan Alexandru alexandrutarcan Data 7 februarie 2014 09:19:07
Problema Elementul majoritar Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fin,"%d",&n); ^ user.cpp:11:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fin,"%d",&v[i]); ^ user.cpp:35:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(fout,"%d ",maj); ^ user.cpp:36:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(fout,"%d",x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms232kbOK10
20ms232kbOK10
30ms236kbOK10
44ms312kbOK10
516ms620kbOK10
632ms1008kbOK10
760ms1796kbOK10
8136ms4136kbOK10
9276ms8040kbOK10
10288ms8032kbOK10
Punctaj total100

Ceva nu functioneaza?