Borderou de evaluare (job #1281504)
Utilizator | Data | 3 decembrie 2014 11:35:45 | |
---|---|---|---|
Problema | Factorial | 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:12:4: error: overloaded function with no contextual type information
max=S;
^
user.cpp:15:11: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator>’
while(max>S)
^
user.cpp:17:4: error: ‘c’ was not declared in this scope
c=S&10;
^
user.cpp:19:8: error: ‘c’ was not declared in this scope
if (c=0) n=n+1;
^
user.cpp:20:7: error: expected ‘(’ before ‘n’
if n=P}
^
user.cpp:21:9: error: expected ‘;’ before ‘S’
cout S;
^
user.cpp:21:10: warning: statement has no effect [-Wunused-value]
cout S;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !