Borderou de evaluare (job #1811239)
Utilizator | Data | 20 noiembrie 2016 23:01:46 | |
---|---|---|---|
Problema | Culori3 | Status | done |
Runda | gym1_emag_mediu_2016 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void inm(int*, int*)’:
user.cpp:10:9: error: ‘i’ was not declared in this scope
for(i=1;i<=v[0];i++)
^
user.cpp:12:22: error: ‘r’ was not declared in this scope
v[i]=(v[i]*3+r)%10;
^
user.cpp:15:8: error: ‘r’ was not declared in this scope
if(r)
^
user.cpp:21:9: error: ‘i’ was not declared in this scope
for(i=1;i<=v[0];i++)
^
user.cpp: In function ‘void adun(int*, int)’:
user.cpp:31:15: error: ‘q’ was not declared in this scope
inm(l,q);
^
user.cpp:32:13: error: ‘i’ was not declared in this scope
for(i=1;i<=q[0];i++)
^
user.cpp:34:29: error: ‘r’ was not declared in this scope
l[i]=(l[i]+q[i]+r)%10;
^
user.cpp:37:12: error: ‘r’ was not declared in this scope
if(r)
^
user.cpp: In function ‘void multiplu(int*, int, int*)’:
user.cpp:48:9: error: ‘i’ was not declared in this scope
for(i=1;i<=v[0];i++)
^
user.cpp:50:24: error: ‘r’ was not declared in this scope
nou[i]=(v[i]*c+r)%10;
^
user.cpp:53:8: error: ‘r’ was not declared in this scope
if(r)
^
user.cpp:58:5: error: ‘q’ was not declared in this scope
q[0]=v[0];
^
user.cpp:59:9: error: ‘i’ was not declared in this scope
for(i=1;i<=v[0];i++)
^
user.cpp: In function ‘int rez(int*, int*, int)’:
user.cpp:62:30: error: ‘int rez(int*, int*, int)’ redeclared as different kind of symbol
int rez(int q[],int v[],int d)
^
user.cpp:6:11: error: previous declaration of ‘long long int rez [6][5001]’
long long rez[6][5001];
^
user.cpp:65:22: error: ‘nou’ was not declared in this scope
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !