Borderou de evaluare (job #1077370)

Utilizator ovidel95Ovidiu ovidel95 Data 11 ianuarie 2014 11:46:54
Problema Reteta Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf ( "%d %d" , &n , &m ); ^ user.cpp:12:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp:15:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf ( "%d %d" , &T[i] , &nr_med ); ^ user.cpp:15:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp:18:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf ( "%d" , &x ); ^ user.cpp:23:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf ("%d",&C[i]); ^ user.cpp:40:16: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if ((s>>i)&1) ^ user.cpp:32:9: warning: unused variable ‘pp’ [-Wunused-variable] int pp=0; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms244kbOK10
20ms240kbOK10
30ms244kbOK10
44ms240kbOK10
54ms236kbOK10
64ms240kbOK10
74ms240kbOK10
84ms244kbOK10
94ms240kbOK10
104ms232kbOK10
Punctaj total100

Ceva nu functioneaza?