Borderou de evaluare (job #2489734)
Utilizator | Data | 9 noiembrie 2019 11:35:26 | |
---|---|---|---|
Problema | Elementul majoritar | Status | done |
Runda | Teme Pregatire ACM Unibuc 2013 | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:5:13: error: variable 'std::ifstream fin' has initializer but incomplete type
ifstream fin("elmaj.in");
^
main.cpp:6:14: error: variable 'std::ofstream fout' has initializer but incomplete type
ofstream fout("elmaj.out");
^
main.cpp: In function 'int main()':
main.cpp:26:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(v[i]==m)
^~
main.cpp:28:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(ap>n/2)
^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !