Borderou de evaluare (job #1672448)
Utilizator | Data | 2 aprilie 2016 19:04:47 | |
---|---|---|---|
Problema | Bleach | 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:9:18: error: ‘n’ was not declared in this scope
scanf("%d", &n);
^
user.cpp:10:9: error: ‘i’ was not declared in this scope
for(i=1;i<=k;++i){
^
user.cpp:10:16: error: ‘k’ was not declared in this scope
for(i=1;i<=k;++i){
^
user.cpp:11:22: error: ‘a’ was not declared in this scope
scanf("%d", &a);
^
user.cpp:12:9: error: ‘Min’ was not declared in this scope
Min[i]=a;
^
user.cpp:14:10: error: ‘Min’ was not declared in this scope
sort(Min+1,Min+k+1);
^
user.cpp:14:20: error: ‘k’ was not declared in this scope
sort(Min+1,Min+k+1);
^
user.cpp:15:9: error: ‘i’ was not declared in this scope
for(i=k+1;i<=n;++i){
^
user.cpp:16:22: error: ‘a’ was not declared in this scope
scanf("%d", &a);
^
user.cpp:18:13: error: ‘p’ was not declared in this scope
p=upper_bound(Min+1,Min+k+1,a)-Min;
^
user.cpp:23:9: error: ‘i’ was not declared in this scope
for(i=2;i<=k;++i)
^
user.cpp:7:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bleach.in", "r", stdin);
^
user.cpp:8:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bleach.out", "w", stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !