Borderou de evaluare (job #2535753)

Utilizator david.teacaDavid Stefan Teaca david.teaca Data 1 februarie 2020 11:10:31
Problema Sistem Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:1:1: error: stray '\177' in program #include <bits/stdc++.h> ^ main.cpp:1:2: error: stray '#' in program #include <bits/stdc++.h> ^ main.cpp:1:3: error: 'include' does not name a type #include <bits/stdc++.h> ^~~~~~~ main.cpp:43:12: error: 'ostream' does not name a type friend ostream& operator<<(ostream& out, const BigInt& x); ^~~~~~~ main.cpp:221:1: error: 'ostream' does not name a type ostream& operator<<(ostream& out, const BigInt& x) { ^~~~~~~ main.cpp:233:1: error: 'ifstream' does not name a type ifstream fin("sistem.in"); ^~~~~~~~ main.cpp:235:1: error: 'ofstream' does not name a type ofstream fout("sistem.out"); ^~~~~~~~ main.cpp: In function 'int main()': main.cpp:241:12: error: 'fin' was not declared in this scope int n; fin >> n; ^~~ main.cpp:243:5: error: 'vector' was not declared in this scope vector<BigInt> nr(n + 1), dp(n + 1); ^~~~~~ main.cpp:243:18: error: expected primary-expression before '>' token vector<BigInt> nr(n + 1), dp(n + 1); ^ main.cpp:243:28: error: 'nr' was not declared in this scope vector<BigInt> nr(n + 1), dp(n + 1); ^ main.cpp:243:39: error: 'dp' was not declared in this scope vector<BigInt> nr(n + 1), dp(n + 1); ^ main.cpp:245:25: error: expected primary-expression before '>>' token vector<vector<BigInt>> comb(n + 1, vector<BigInt>(n + 1)); ^~ main.cpp:245:53: error: expected primary-expression before '>' token vector<vector<BigInt>> comb(n + 1, vector<BigInt>(n + 1)); ^ main.cpp:245:61: error: 'comb' was not declared in this scope vector<vector<BigInt>> comb(n + 1, vector<BigInt>(n + 1)); ^ main.cpp:279:5: error: 'fout' was not declared in this scope fout << dp[n] << '\n'; ^~~~ Non zero exit status: 1

Ceva nu functioneaza?