Borderou de evaluare (job #1872998)
| Utilizator | Data | 8 februarie 2017 18:46:17 | |
|---|---|---|---|
| Problema | Calcule | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.cpp:4:12: warning: missing terminating " character [enabled by default]
ofstream g("calcule
^
user.cpp:4:1: error: missing terminating " character
ofstream g("calcule
^
user.cpp:5:16: warning: missing terminating " character [enabled by default]
.out");
^
user.cpp:5:12: error: missing terminating " character
.out");
^
user.cpp:5:12: error: expected primary-expression before ‘.’ token
user.cpp:6:7: error: ‘k’ was not declared in this scope
int n,k,i,j,a[10001],nr;
^
user.cpp:6:9: error: ‘i’ was not declared in this scope
int n,k,i,j,a[10001],nr;
^
user.cpp:6:11: error: ‘j’ was not declared in this scope
int n,k,i,j,a[10001],nr;
^
user.cpp:6:13: error: ‘a’ was not declared in this scope
int n,k,i,j,a[10001],nr;
^
user.cpp:6:22: error: ‘nr’ was not declared in this scope
int n,k,i,j,a[10001],nr;
^
user.cpp: In function ‘int main()’:
user.cpp:8:5: error: ‘n’ was not declared in this scope
{f>>n>>k;
^
user.cpp:8:8: error: ‘k’ was not declared in this scope
{f>>n>>k;
^
user.cpp:9:5: error: ‘i’ was not declared in this scope
for(i=1;i<=n;i++)f>>a[i];
^
user.cpp:9:21: error: ‘a’ was not declared in this scope
for(i=1;i<=n;i++)f>>a[i];
^
user.cpp:10:5: error: ‘i’ was not declared in this scope
for(i=1;i<=n;i++){for(j=i+1;j<=n;j++)if(a[j]>a[i]){for(k=j;k<n;k++)a[k]=a[k+1];n--;j--;}
^
user.cpp:10:23: error: ‘j’ was not declared in this scope
for(i=1;i<=n;i++){for(j=i+1;j<=n;j++)if(a[j]>a[i]){for(k=j;k<n;k++)a[k]=a[k+1];n--;j--;}
^
user.cpp:10:41: error: ‘a’ was not declared in this scope
for(i=1;i<=n;i++){for(j=i+1;j<=n;j++)if(a[j]>a[i]){for(k=j;k<n;k++)a[k]=a[k+1];n--;j--;}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
