Borderou de evaluare (job #1436685)

Utilizator KOzarmOvidiu Badea KOzarm Data 16 mai 2015 12:41:04
Problema Magicmatrix 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:4:1: error: initializer element is not constant FILE *f=fopen("magicmatrix.in","r"); ^ user.c:5:1: error: initializer element is not constant FILE *g=fopen("magicmatrix.out","w"); ^ user.c: In function ‘main’: user.c:11:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&t); ^ user.c:14:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&n); ^ user.c:19:20: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&a[i][j]); ^

Ceva nu functioneaza?