Borderou de evaluare (job #3235862)

Utilizator Andrei-Dani-10Pisla Andrei Daniel Andrei-Dani-10 Data 23 iunie 2024 09:13:16
Problema Oite Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:10:24: error: 'n' was not declared in this scope 10 | for(int i = 0; i < n; i++){ | ^ main.cpp:12:16: error: 'f' was not declared in this scope 12 | if(f.find(s - v[i] - v[j]) != f.end()) | ^ main.cpp:12:23: error: 's' was not declared in this scope 12 | if(f.find(s - v[i] - v[j]) != f.end()) | ^ main.cpp:16:13: error: 'f' was not declared in this scope 16 | f[v[i] - v[j]] += 1; | ^ Non zero exit status: 1

Ceva nu functioneaza?