Borderou de evaluare (job #1929051)
Utilizator | Data | 16 martie 2017 23:50:28 | |
---|---|---|---|
Problema | CMMDC | 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:9: error: ‘n’ was not declared in this scope
in>>n>>k;
^
user.cpp:9:12: error: ‘k’ was not declared in this scope
in>>n>>k;
^
user.cpp:10:9: error: ‘i’ was not declared in this scope
for(i=1;i<=n;i++)
^
user.cpp:11:13: error: ‘a’ was not declared in this scope
in>>a[i];
^
user.cpp:12:9: error: ‘i’ was not declared in this scope
for(i=1;i<n;i++)
^
user.cpp:13:13: error: ‘ci’ was not declared in this scope
for(ci=i+1;ci<=n;ci++)
^
user.cpp:14:14: error: ‘x’ was not declared in this scope
{x=a[i];y=a[ci];
^
user.cpp:14:16: error: ‘a’ was not declared in this scope
{x=a[i];y=a[ci];
^
user.cpp:14:21: error: ‘y’ was not declared in this scope
{x=a[i];y=a[ci];
^
user.cpp:24:17: error: ‘cmmdc’ was not declared in this scope
cmmdc[i][ci]=x;
^
user.cpp:26:9: error: ‘ok’ was not declared in this scope
while(ok==0)
^
user.cpp:28:11: error: ‘i’ was not declared in this scope
for(i=1;i<n;i++)
^
user.cpp:29:13: error: ‘ci’ was not declared in this scope
{ for(ci=i+1;ci<=n;ci++)
^
user.cpp:31:12: error: ‘cmmdc’ was not declared in this scope
if(cmmdc[i][ci]>maxi)
^
user.cpp:31:25: error: ‘maxi’ was not declared in this scope
if(cmmdc[i][ci]>maxi)
^
user.cpp:34:13: error: ‘nr’ was not declared in this scope
nr=2
^
user.cpp:35:9: error: expected ‘;’ before ‘}’ token
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !