Borderou de evaluare (job #1150355)

Utilizator marta_diannaFII Filimon Marta Diana marta_dianna Data 22 martie 2014 21:40:48
Problema Regiuni Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void Citeste()’: user.cpp:22:70: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] for (i=1; i<=n; ++i) scanf("%d%d%d", &ec[i].a, &ec[i].b, &ec[i].c); ^ user.cpp:22:70: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:22:70: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:25:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d", &a[j].x, &a[j].y); ^ user.cpp:25:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp: In function ‘void Solve()’: user.cpp:37:19: warning: variable ‘nrm’ set but not used [-Wunused-but-set-variable] int i, j, sg, nrm, nrp, val, nr=0; ^ user.cpp:37:24: warning: variable ‘nrp’ set but not used [-Wunused-but-set-variable] int i, j, sg, nrm, nrp, val, nr=0; ^ user.cpp:37:29: warning: unused variable ‘val’ [-Wunused-variable] int i, j, sg, nrm, nrp, val, nr=0; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms232kbIncorect0
20ms236kbIncorect0
34ms236kbIncorect0
44ms232kbIncorect0
54ms232kbIncorect0
68ms232kbIncorect0
78ms232kbIncorect0
812ms232kbIncorect0
912ms232kbIncorect0
1016ms236kbIncorect0
Punctaj total0

Ceva nu functioneaza?