Borderou de evaluare (job #1338718)
Utilizator | Data | 10 februarie 2015 12:15:23 | |
---|---|---|---|
Problema | Piete | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:68:12: error: no matching function for call to ‘inf::inf()’
inf qu[1000];
^
user.cpp:68:12: note: candidates are:
user.cpp:60:5: note: inf::inf(int, short int, short int)
inf( int a, short b, short c )
^
user.cpp:60:5: note: candidate expects 3 arguments, 0 provided
user.cpp:53:7: note: constexpr inf::inf(const inf&)
class inf
^
user.cpp:53:7: note: candidate expects 1 argument, 0 provided
user.cpp:53:7: note: constexpr inf::inf(inf&&)
user.cpp:53:7: note: candidate expects 1 argument, 0 provided
user.cpp: In function ‘int main()’:
user.cpp:105:33: error: ‘s’ was not declared in this scope
qu[++rear] = inf( 0, i, s );
^
user.cpp:101:9: warning: unused variable ‘head’ [-Wunused-variable]
int head = 1, rear = 0;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !