Borderou de evaluare (job #1051238)
Utilizator | Data | 9 decembrie 2013 21:00:30 | |
---|---|---|---|
Problema | Joc13 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:5:1: error: expected ‘,’ or ‘;’ before ‘int’
int n,k,i,j,p,s,max1;
^
user.cpp: In function ‘int main()’:
user.cpp:9:8: error: ‘n’ was not declared in this scope
f>>n>>k;
^
user.cpp:9:11: error: ‘k’ was not declared in this scope
f>>n>>k;
^
user.cpp:10:6: error: ‘i’ was not declared in this scope
for(i=0;i<2;i++)
^
user.cpp:11:7: error: ‘j’ was not declared in this scope
for(j=0;j<n;j++)
^
user.cpp:15:9: error: ‘i’ was not declared in this scope
for(i=1;i<n;i++)
^
user.cpp:16:10: error: ‘j’ was not declared in this scope
for(j=0;j<2;j++)
^
user.cpp:18:6: error: ‘max1’ was not declared in this scope
max1=-15000;
^
user.cpp:19:6: error: ‘s’ was not declared in this scope
s=a[j][i];
^
user.cpp:20:10: error: ‘p’ was not declared in this scope
for(p=1;p<k&&p<=i;p++)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !