Borderou de evaluare (job #2476178)
Utilizator | Data | 18 octombrie 2019 11:28:09 | |
---|---|---|---|
Problema | Heroes of Might & Magic | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:7:32: error: wrong number of template arguments (3, should be 2)
array<array<array<ull, 109, 109>, 29> d;
^
In file included from main.cpp:2:0:
/usr/include/c++/6/array:90:12: note: provided for 'template<class _Tp, long unsigned int _Nm> struct std::array'
struct array
^~~~~
main.cpp:7:37: error: template argument 1 is invalid
array<array<array<ull, 109, 109>, 29> d;
^
main.cpp:7:39: error: wrong number of template arguments (1, should be 2)
array<array<array<ull, 109, 109>, 29> d;
^
In file included from main.cpp:2:0:
/usr/include/c++/6/array:90:12: note: provided for 'template<class _Tp, long unsigned int _Nm> struct std::array'
struct array
^~~~~
main.cpp: In function 'int main()':
main.cpp:24:5: error: 'd' was not declared in this scope
d[0][sx][sy] = 1;
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !