Borderou de evaluare (job #1536684)
Utilizator | Data | 26 noiembrie 2015 15:30:43 | |
---|---|---|---|
Problema | Transport | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:2:21: error: expected unqualified-id before numeric constant
using namespace std;0
^
user.cpp: In function ‘int main()’:
user.cpp:11:21: error: ‘n’ was not declared in this scope
scanf("%d %d", &n, &k);
^
user.cpp:11:25: error: ‘k’ was not declared in this scope
scanf("%d %d", &n, &k);
^
user.cpp:15:21: error: ‘v’ was not declared in this scope
scanf("%d", v[i]);
^
user.cpp:16:9: error: ‘minim’ was not declared in this scope
minim=max(minim, v[i]);
^
user.cpp:16:30: error: ‘max’ was not declared in this scope
minim=max(minim, v[i]);
^
user.cpp:17:9: error: ‘maxim’ was not declared in this scope
maxim+=a[i];
^
user.cpp:17:16: error: ‘a’ was not declared in this scope
maxim+=a[i];
^
user.cpp:20:5: error: ‘st’ was not declared in this scope
st=minim;dr=maxim;
^
user.cpp:20:8: error: ‘minim’ was not declared in this scope
st=minim;dr=maxim;
^
user.cpp:20:14: error: ‘dr’ was not declared in this scope
st=minim;dr=maxim;
^
user.cpp:20:17: error: ‘maxim’ was not declared in this scope
st=minim;dr=maxim;
^
user.cpp:24:9: error: ‘mij’ was not declared in this scope
mij=(dr+st)/2;
^
user.cpp:27:9: error: ‘temp’ was not declared in this scope
temp=1;
^
user.cpp:30:21: error: ‘v’ was not declared in this scope
if(suma+v[i]<=mij){
^
user.cpp:36:22: error: ‘a’ was not declared in this scope
suma=a[i];
^
user.cpp:43:13: error: ‘solutie’ was not declared in this scope
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !