Borderou de evaluare (job #2420735)
Utilizator | Data | 13 mai 2019 10:38:29 | |
---|---|---|---|
Problema | Triunghi2 | 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:61:9: error: 'vector' was not declared in this scope
vector<int>r;
^~~~~~
main.cpp:61:16: error: expected primary-expression before 'int'
vector<int>r;
^~~
main.cpp:64:42: error: 'r' was not declared in this scope
if(in(aa,a[i],b[i],c[i])) r.push_back(i);
^
main.cpp:66:16: error: 'r' was not declared in this scope
int sz=r.size();
^
main.cpp:34:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("triunghi2.in","r",stdin);
^
main.cpp:35:44: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("triunghi2.out","w",stdout);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !