Borderou de evaluare (job #1076859)

Utilizator tavi.belu1994FMI Belu Andrei Octavian tavi.belu1994 Data 10 ianuarie 2014 17:19:04
Problema Int Status done
Runda Teme Pregatire ACM Unibuc 2013 Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:69:17: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(f,"%d",&N); ^ user.cpp:73:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(f,"%d%d",&A[i][0],&A[i][1]); ^ user.cpp:73:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp:100:17: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(g,"%d",k); ^ user.cpp:76:10: warning: unused variable ‘j’ [-Wunused-variable] long k=1,j; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms420kbOK10
20ms424kbOK10
34ms444kbOK10
444ms924kbOK10
548ms896kbOK10
64ms444kbOK10
728ms740kbOK10
836ms972kbOK10
944ms944kbOK10
1044ms872kbOK10
Punctaj total100

Ceva nu functioneaza?