Borderou de evaluare (job #2377574)
| Utilizator | Data | 10 martie 2019 17:36:23 | |
|---|---|---|---|
| Problema | Custi | 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:18:20: error: missing template arguments before '(' token
auto nr = deque(n, 0);
^
main.cpp:34:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(auto i = n - 1; i; --i)
^~~
main.cpp:36:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
nr.pop_front();
^~
main.cpp:37:20: error: unable to deduce 'auto&&' from 'nr'
for(auto&& it: nr)
^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
