Borderou de evaluare (job #2748892)

Utilizator roxannemafteiuMafteiu-Scai Roxana roxannemafteiu Data 3 mai 2021 22:34:31
Problema Fraud Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:6:1: error: 'ifstream' does not name a type ifstream fin("fraud.in"); ^~~~~~~~ main.cpp:7:1: error: 'ofstream' does not name a type ofstream fout("fraud.out"); ^~~~~~~~ main.cpp:13:1: error: 'vector' does not name a type vector<int> sums(N); ^~~~~~ main.cpp: In function 'int main()': main.cpp:17:19: error: 'sums' was not declared in this scope for (auto j : sums) { ^~~~ main.cpp:18:7: error: 'cin' was not declared in this scope cin >> j; ^~~ main.cpp:21:15: error: 'sums' was not declared in this scope std::sort(sums.begin(), sums.begin() + N); ^~~~ main.cpp:28:5: error: 'cout' was not declared in this scope cout << number_differences >= FRAUD_NUMBER ? "Incorect" : "Corect" << "\n"; ^~~~ main.cpp:28:72: error: invalid operands of types 'const char [7]' and 'const char [2]' to binary 'operator<<' cout << number_differences >= FRAUD_NUMBER ? "Incorect" : "Corect" << "\n"; ~~~~~~~~~^~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?