Borderou de evaluare (job #2208329)
Utilizator | Data | 29 mai 2018 10:48:50 | |
---|---|---|---|
Problema | Transport | 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:5:5: error: expected initializer before ‘>>’ token
cin>>N;
^~
user.cpp:6:7: error: ‘K’ was not declared in this scope
cin>>K;
^
user.cpp:7:6: error: overloaded function with no contextual type information
max=0;
^
user.cpp:8:2: error: ‘s’ was not declared in this scope
s=0;
^
user.cpp:9:6: error: ‘i’ was not declared in this scope
for(i=1;i<=N;i++){
^
user.cpp:9:13: error: ‘N’ was not declared in this scope
for(i=1;i<=N;i++){
^
user.cpp:10:8: error: ‘v’ was not declared in this scope
cin>>v[i];
^
user.cpp:12:7: error: parse error in template argument list
if (max<v[i])
^~~~~~~~
user.cpp:12:15: error: cannot resolve overloaded function ‘max’ based on conversion to type ‘bool’
if (max<v[i])
^
user.cpp:14:2: error: expected ‘}’ at end of input
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !