Borderou de evaluare (job #2370478)
Utilizator | Data | 6 martie 2019 12:21:36 | |
---|---|---|---|
Problema | Troll | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:50:1: error: 'vector' does not name a type
vector<interv> Sir;
^~~~~~
main.cpp: In function 'void length()':
main.cpp:61:5: error: 'Sir' was not declared in this scope
Sir.push_back(N[mi]);
^~~
main.cpp: In function 'void afis()':
main.cpp:84:17: error: 'Sir' was not declared in this scope
for(auto it:Sir)
^~~
main.cpp: In function 'void citire()':
main.cpp:31:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:35:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&a,&b,&z);
^
main.cpp: In function 'int main()':
main.cpp:90:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("troll.in","r",stdin);
^
main.cpp:91:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("troll.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 !