Borderou de evaluare (job #2048051)
Utilizator | Data | 25 octombrie 2017 18:45:56 | |
---|---|---|---|
Problema | Triunghi | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:3:1: error: declaration does not declare anything [-fpermissive]
int ;
^
user.cpp: In function ‘int main()’:
user.cpp:8:19: error: ‘n’ was not declared in this scope
scanf("%d%d",&n,&s);
^
user.cpp:8:22: error: ‘s’ was not declared in this scope
scanf("%d%d",&n,&s);
^
user.cpp:9:9: error: ‘j’ was not declared in this scope
for(j=1;j<=n;j++)
^
user.cpp:11:9: error: ‘a’ was not declared in this scope
a[n][j]=1;
^
user.cpp:12:13: error: ‘i’ was not declared in this scope
for(i=n-1;i>=1;i--)
^
user.cpp:13:17: error: ‘k’ was not declared in this scope
for(k=1;k<=i;k++)
^
user.cpp:15:9: error: ‘s1’ was not declared in this scope
s1=0;
^
user.cpp:16:13: error: ‘i’ was not declared in this scope
for(i=1;i<=n;i++)
^
user.cpp:17:17: error: ‘k’ was not declared in this scope
for(k=1;k<=i;k++)
^
user.cpp:22:9: error: ‘st’ was not declared in this scope
st=st+s1;
^
user.cpp:23:9: error: ‘v’ was not declared in this scope
v[j]=s1;
^
user.cpp:25:9: error: ‘b’ was not declared in this scope
b[0]=1;
^
user.cpp:26:13: error: ‘i’ was not declared in this scope
for(i=1;i<=n;i++)
^
user.cpp:27:17: error: ‘j’ was not declared in this scope
for(j=0;j<=sr-v[i];j++)
^
user.cpp:27:24: error: ‘sr’ was not declared in this scope
for(j=0;j<=sr-v[i];j++)
^
user.cpp:27:27: error: ‘v’ was not declared in this scope
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !