Borderou de evaluare (job #1121920)

Utilizator rughibemBelcineanu Alexandru Ioan rughibem Data 25 februarie 2014 14:48:11
Problema Hartie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:58:59: warning: NULL used in arithmetic [-Wpointer-arith] fscanf(f,"%c",&c); if( pc=='\n' && (c=='\n' || c==NULL) ) break; ^ user.cpp:52:13: warning: unused variable ‘j’ [-Wunused-variable] long int i, j; ^ user.cpp:58:41: warning: ‘pc’ may be used uninitialized in this function [-Wmaybe-uninitialized] fscanf(f,"%c",&c); if( pc=='\n' && (c=='\n' || c==NULL) ) break; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms232kbOK100
Punctaj total100

Ceva nu functioneaza?