Borderou de evaluare (job #1877493)
Utilizator | Data | 13 februarie 2017 13:42:33 | |
---|---|---|---|
Problema | Jocul Flip | 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:26:19: error: ‘n’ was not declared in this scope
scanf("%d%d",&n,&m);
^
user.cpp:26:22: error: ‘m’ was not declared in this scope
scanf("%d%d",&n,&m);
^
user.cpp:27:9: error: ‘i’ was not declared in this scope
for(i=1;i<=m;i++){
^
user.cpp:28:23: error: ‘x’ was not declared in this scope
scanf("%d%d",&x,&y);
^
user.cpp:28:26: error: ‘y’ was not declared in this scope
scanf("%d%d",&x,&y);
^
user.cpp:33:9: error: ‘k’ was not declared in this scope
for(k=1;k<=n;k++)
^
user.cpp:34:13: error: ‘i’ was not declared in this scope
for(i=1;i<=n;i++)
^
user.cpp:35:17: error: ‘j’ was not declared in this scope
for(j=1;j<=n;j++)
^
user.cpp:38:9: error: ‘i’ was not declared in this scope
for(i=1;i<n;i++)
^
user.cpp:39:13: error: ‘j’ was not declared in this scope
for(j=i+1;j<=n;j++){
^
user.cpp:24:10: warning: unused variable ‘fin’ [-Wunused-variable]
FILE*fin=freopen("ismer.in","r",stdin);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !