Borderou de evaluare (job #2218915)

Utilizator Ioana_GaborGabor Ioana Ioana_Gabor Data 6 iulie 2018 13:49:35
Problema Sum Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c:5:1: error: unknown type name ‘using’ using namespace std; ^~~~~ user.c:5:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘std’ using namespace std; ^~~ user.c: In function ‘main’: user.c:29:3: error: stray ‘\302’ in program   fclose(fin); ^ user.c:29:4: error: stray ‘\240’ in program   fclose(fin); ^ user.c:29:5: error: stray ‘\302’ in program   fclose(fin); ^ user.c:29:6: error: stray ‘\240’ in program   fclose(fin); ^ user.c:30:1: error: stray ‘\302’ in program     fclose(fout); ^ user.c:30:2: error: stray ‘\240’ in program     fclose(fout); ^ user.c:30:3: error: stray ‘\302’ in program     fclose(fout); ^ user.c:30:4: error: stray ‘\240’ in program     fclose(fout); ^ user.c:30:5: error: stray ‘\302’ in program     fclose(fout); ^ user.c:30:6: error: stray ‘\240’ in program     fclose(fout); ^ user.c:30:7: error: stray ‘\302’ in program     fclose(fout); ^ user.c:30:8: error: stray ‘\240’ in program     fclose(fout); ^ user.c:22:5: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &n); ^~~~~~~~~~~~~~~~~~~~~ user.c:26:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &x); ^~~~~~~~~~~~~~~~~~~~~

Ceva nu functioneaza?