Borderou de evaluare (job #2259126)
Utilizator | Data | 12 octombrie 2018 23:46:31 | |
---|---|---|---|
Problema | Reteta2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:9: error: ‘gets’ was not declared in this scope
gets(s);
^
user.cpp:21:3: error: ‘vector’ is not a member of ‘std’
std::vector<std::string> allIngredients;
^~~
user.cpp:21:26: error: expected primary-expression before ‘>’ token
std::vector<std::string> allIngredients;
^
user.cpp:21:28: error: ‘allIngredients’ was not declared in this scope
std::vector<std::string> allIngredients;
^~~~~~~~~~~~~~
user.cpp:55:18: error: unable to deduce ‘auto&&’ from ‘allIngredients’
for (auto it : allIngredients)
^~~~~~~~~~~~~~
user.cpp:14:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reteta2.in", "r", stdin);
^
user.cpp:15:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reteta2.out", "w", stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !