Borderou de evaluare (job #1590963)

Utilizator dinurosca03Rosca Dinu Cristian dinurosca03 Data 5 februarie 2016 17:47:20
Problema Int Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c:3:1: error: unknown type name ‘using’ using namespace std; ^ user.c:3:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘std’ using namespace std; ^ user.c:6:1: error: unknown type name ‘interval’ interval v[NMAX],x,k; ^ user.c: In function ‘main’: user.c:16:26: error: request for member ‘st’ in something not a structure or union fscanf(f,"%d%d",&v[i].st,&v[i].dr); ^ user.c:16:35: error: request for member ‘dr’ in something not a structure or union fscanf(f,"%d%d",&v[i].st,&v[i].dr); ^ user.c:20:12: error: request for member ‘st’ in something not a structure or union if(v[i].st>=v[j].st) ^ user.c:20:21: error: request for member ‘st’ in something not a structure or union if(v[i].st>=v[j].st) ^ user.c:30:13: error: request for member ‘dr’ in something not a structure or union if(k.dr<=v[p].st) ^ user.c:30:22: error: request for member ‘st’ in something not a structure or union if(k.dr<=v[p].st) ^ user.c:14:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&n); ^

Ceva nu functioneaza?