Borderou de evaluare (job #1074039)
Utilizator | Data | 7 ianuarie 2014 03:09:00 | |
---|---|---|---|
Problema | Cezar | Status | done |
Runda | Teme Pregatire ACM Unibuc 2013 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:10:45: error: conflicting declaration ‘short int nod [10001]’
short int grad[N], tata[N], subarb[N], nod[N], dist[N], heap[N];
^
user.cpp:9:30: error: ‘nod’ has a previous declaration as ‘int nod [10001]’
int n,k,lgheap,sol, dist[N], nod[N];
^
user.cpp:10:54: error: conflicting declaration ‘short int dist [10001]’
short int grad[N], tata[N], subarb[N], nod[N], dist[N], heap[N];
^
user.cpp:9:21: error: ‘dist’ has a previous declaration as ‘int dist [10001]’
int n,k,lgheap,sol, dist[N], nod[N];
^
user.cpp: In function ‘void solve()’:
user.cpp:108:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<G[x].size();++i)
^
user.cpp:120:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
tata[j]=viz[j]=grad[j]=subarb[j]=dist[j]=heap[j]=nod[j]=0;
^
user.cpp:127:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(it=0;it<G[x].size();++it)
^
user.cpp:147:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(it=0;it<G[i].size();++it)
^
user.cpp:157:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<G[y].size();++j)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !