Borderou de evaluare (job #2454733)
Utilizator | Data | 9 septembrie 2019 19:50:46 | |
---|---|---|---|
Problema | K Aparitii | Status | done |
Runda | Arhiva Monthly | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:3:1: error: 'ifstream' does not name a type
ifstream fin("aparitii.in");
^~~~~~~~
main.cpp:4:1: error: 'ofstream' does not name a type
ofstream fout("aparitii.out");
^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:10:5: error: 'fin' was not declared in this scope
fin>>N>>K;
^~~
main.cpp:15:19: error: 'sort' was not declared in this scope
sort(a+1,a+1+N);
^
main.cpp:18:9: error: 'nr' was not declared in this scope
nr=1;
^~
main.cpp:19:12: error: 'v' was not declared in this scope
if(v[i]==v[i+1])
^
main.cpp:27:17: error: 'fout' was not declared in this scope
fout>>v[i];
^~~~
main.cpp:32:8: error: 'nr' was not declared in this scope
if(nr%K!=0)
^~
main.cpp:33:9: error: 'fout' was not declared in this scope
fout<<v[N];
^~~~
main.cpp:33:15: error: 'v' was not declared in this scope
fout<<v[N];
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !