Borderou de evaluare (job #1002560)
Utilizator | Data | 28 septembrie 2013 10:23:47 | |
---|---|---|---|
Problema | Evantai | Status | done |
Runda | Lista lui wefgef | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:81:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=0; j<sortlist[i].size(); ++j)
^
user.cpp: At global scope:
user.cpp:118:13: error: redefinition of ‘std::ifstream fin’
ifstream fin("evantai.in");
^
user.cpp:11:10: error: ‘std::ifstream fin’ previously declared here
ifstream fin("evantai.in");
^
user.cpp:119:14: error: redefinition of ‘std::ofstream fout’
ofstream fout("evantai.out");
^
user.cpp:12:10: error: ‘std::ofstream fout’ previously declared here
ofstream fout("evantai.out");
^
user.cpp:121:5: error: redefinition of ‘int n’
int n,aib[maxn][maxn];
^
user.cpp:14:5: error: ‘int n’ previously declared here
int n,aib[maxn][maxn],v[maxn],t,maxv,sum,ss;
^
user.cpp:121:21: error: redefinition of ‘int aib [701][701]’
int n,aib[maxn][maxn];
^
user.cpp:14:7: error: ‘int aib [701][701]’ previously declared here
int n,aib[maxn][maxn],v[maxn],t,maxv,sum,ss;
^
user.cpp:122:11: error: redefinition of ‘int v [701]’
int v[maxn],sum,ss,t,maxv;
^
user.cpp:14:23: error: ‘int v [701]’ previously declared here
int n,aib[maxn][maxn],v[maxn],t,maxv,sum,ss;
^
user.cpp:122:13: error: redefinition of ‘int sum’
int v[maxn],sum,ss,t,maxv;
^
user.cpp:14:38: error: ‘int sum’ previously declared here
int n,aib[maxn][maxn],v[maxn],t,maxv,sum,ss;
^
user.cpp:122:17: error: redefinition of ‘int ss’
int v[maxn],sum,ss,t,maxv;
^
user.cpp:14:42: error: ‘int ss’ previously declared here
int n,aib[maxn][maxn],v[maxn],t,maxv,sum,ss;
^
user.cpp:122:20: error: redefinition of ‘int t’
int v[maxn],sum,ss,t,maxv;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !