Borderou de evaluare (job #966361)
Utilizator | Data | 25 iunie 2013 19:31:28 | |
---|---|---|---|
Problema | Arbori de intervale | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:17:3: error: ‘i’ does not name a type
i
^
user.cpp: In member function ‘void ArbInt<MaxElements>::update(const int&, const int&)’:
user.cpp:44:18: error: there are no arguments to ‘Update’ that depend on a template parameter, so a declaration of ‘Update’ must be available [-fpermissive]
Update(1, 1, N);
^
user.cpp:44:18: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
user.cpp: In instantiation of ‘void ArbInt<MaxElements>::update(const int&, const int&) [with int MaxElements = 300100]’:
user.cpp:61:19: required from here
user.cpp:44:18: error: ‘Update’ was not declared in this scope
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !