Borderou de evaluare (job #2502148)

Utilizator ARobert1234Ailioaiei Robert ARobert1234 Data 30 noiembrie 2019 13:24:56
Problema SumDiv2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:1:2: error: stray '#' in program s#include <bits/stdc++.h> ^ main.cpp:1:1: error: 's' does not name a type s#include <bits/stdc++.h> ^ main.cpp:4:1: error: 'ifstream' does not name a type ifstream fin("sumdiv2.in"); ^~~~~~~~ main.cpp:5:1: error: 'ofstream' does not name a type ofstream fout("sumdiv2.out"); ^~~~~~~~ main.cpp: In function 'int main()': main.cpp:26:5: error: 'fin' was not declared in this scope fin >> n; ^~~ main.cpp:30:9: error: 'fout' was not declared in this scope fout << a[Y]-a[X-1] << "\n"; ^~~~ Non zero exit status: 1

Ceva nu functioneaza?