Borderou de evaluare (job #1856650)
Utilizator | Data | 25 ianuarie 2017 11:31:41 | |
---|---|---|---|
Problema | Plantatii | Status | done |
Runda | Arhiva ICPC | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:48:14: error: stray ‘#’ in program
}#include <cstdio>
^
user.cpp: In function ‘int main()’:
user.cpp:21:21: error: ‘ast’ was not declared in this scope
ast=1;
^
user.cpp:48:15: error: ‘include’ was not declared in this scope
}#include <cstdio>
^
user.cpp:48:24: error: ‘cstdio’ was not declared in this scope
}#include <cstdio>
^
user.cpp:49:1: error: expected primary-expression before ‘const’
const int nmax=1023;
^
user.cpp:49:1: error: expected ‘;’ before ‘const’
user.cpp:53:1: error: a function-definition is not allowed here before ‘{’ token
{
^
user.cpp:156:1: error: expected ‘}’ at end of input
}
^
user.cpp:50:5: warning: unused variable ‘t’ [-Wunused-variable]
int t,n;
^
user.cpp:50:7: warning: unused variable ‘n’ [-Wunused-variable]
int t,n;
^
user.cpp:51:5: warning: unused variable ‘v’ [-Wunused-variable]
int v[nmax][nmax],sum1[nmax][nmax],sum2[nmax][nmax];
^
user.cpp:51:19: warning: unused variable ‘sum1’ [-Wunused-variable]
int v[nmax][nmax],sum1[nmax][nmax],sum2[nmax][nmax];
^
user.cpp:51:36: warning: unused variable ‘sum2’ [-Wunused-variable]
int v[nmax][nmax],sum1[nmax][nmax],sum2[nmax][nmax];
^
user.cpp:156:1: error: expected ‘}’ at end of input
}
^
user.cpp:156:1: error: expected ‘}’ at end of input
user.cpp:7:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("plantatii.in","r",stdin);
^
user.cpp:8:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("plantatii.out","w",stdout);
^
user.cpp:9:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !