Borderou de evaluare (job #2748894)

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

Raport evaluator

Eroare de compilare: main.cpp:7:1: error: 'ifstream' does not name a type ifstream fin("fraud.in"); ^~~~~~~~ main.cpp:8:1: error: 'ofstream' does not name a type ofstream fout("fraud.out"); ^~~~~~~~ main.cpp:14:1: error: 'vector' does not name a type vector<int> sums(N); ^~~~~~ main.cpp: In function 'int main()': main.cpp:18:19: error: 'sums' was not declared in this scope for (auto j : sums) { ^~~~ main.cpp:19:7: error: 'cin' was not declared in this scope cin >> j; ^~~ main.cpp:22:15: error: 'sums' was not declared in this scope std::sort(sums.begin(), sums.begin() + N); ^~~~ main.cpp:29:5: error: 'cout' was not declared in this scope cout << number_differences >= FRAUD_NUMBER ? "Incorect" : "Corect" << "\n"; ^~~~ main.cpp:29: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?