Borderou de evaluare (job #1614700)

Utilizator alex72101Sfat Alexandru alex72101 Data 26 februarie 2016 01:44:52
Problema Granita Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c:2:1: error: unknown type name ‘using’ using namespace std; ^ user.c:2:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘std’ using namespace std; ^ user.c: In function ‘main’: user.c:36:6: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=] fscanf(f,"%d %d",&v[i][0],&v[i][1]); ^ user.c:36:6: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘long int *’ [-Wformat=] user.c:34:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&n); ^ user.c:36:12: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d %d",&v[i][0],&v[i][1]); ^

Ceva nu functioneaza?