Borderou de evaluare (job #2743969)
Utilizator | Data | 23 aprilie 2021 19:02:16 | |
---|---|---|---|
Problema | Loto2 | Status | done |
Runda | Arhiva Monthly | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:7:15: error: variable 'std::ifstream f' has initializer but incomplete type
ifstream f("loto2.in");
^
main.cpp:10:5: error: 'vector' was not declared in this scope
vector<int> numere(n);
^~~~~~
main.cpp:10:12: error: expected primary-expression before 'int'
vector<int> numere(n);
^~~
main.cpp:14:12: error: 'numbers' was not declared in this scope
f>>numbers[i];
^~~~~~~
main.cpp:15:11: error: 'numere' was not declared in this scope
if(max < numere[i])
^~~~~~
main.cpp:25:21: error: 'A' was not declared in this scope
if (max%A[i]==0)
^
main.cpp:32:18: error: variable 'std::ofstream fout' has initializer but incomplete type
ofstream fout("loto2.out");
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !