Pagini recente » Borderou de evaluare (job #2256374) | Borderou de evaluare (job #1487366) | Borderou de evaluare (job #1432855) | Borderou de evaluare (job #2858941) | Borderou de evaluare (job #1912871)
Borderou de evaluare (job #1912871)
Raport evaluator
Compilare:
user.cpp: In function ‘void DFS(int)’:
user.cpp:16:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
{viz[x]=1;for(int i=0; i<G[x].size(); i++){int v=G[x][i].first, w=G[x][i].second;if(w <= dist && !viz[v]){if(Dmax[v] > Max)Max=Dmax[v];DFS(v);}}}
^
user.cpp: In function ‘int main()’:
user.cpp:25:157: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(!Q.empty()){u=Q.front().first;dcrt=Q.front().second;Q.pop();inqueue[u][dcrt]=0;dist=D[u][dcrt];if(Dmax[dcrt]<Dmax[u]) dcrt=u;for(i=0; i<G[u].size(); i++){v=G[u][i].first;w=G[u][i].second;if(Dmax[dcrt] < w) continue;if(v==n && dist+w<sol){sol=dist+w;continue;}if(dist+w<D[v][dcrt]){D[v][dcrt]=dist+w;if(!inqueue[v][dcrt]){Q.push(nod(v,dcrt));inqueue[v][dcrt]=1;}}}}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 432kb | Corect! | 2 |
2 | 0ms | 436kb | Corect! | 2 |
3 | 0ms | 436kb | Corect! | 2 |
4 | 0ms | 444kb | Corect! | 2 |
5 | 0ms | 444kb | Corect! | 2 |
6 | 0ms | 456kb | Corect! | 2 |
7 | 4ms | 536kb | Corect! | 2 |
8 | 4ms | 560kb | Corect! | 2 |
9 | 4ms | 568kb | Corect! | 2 |
10 | 4ms | 568kb | Corect! | 2 |
11 | 4ms | 5488kb | Corect! | 8 |
12 | 4ms | 5508kb | Corect! | 8 |
13 | 4ms | 5580kb | Corect! | 8 |
14 | 8ms | 5680kb | Corect! | 8 |
15 | 16ms | 5876kb | Corect! | 8 |
16 | 48ms | 6236kb | Corect! | 8 |
17 | 104ms | 6608kb | Corect! | 8 |
18 | 132ms | 6696kb | Corect! | 8 |
19 | 140ms | 6780kb | Corect! | 8 |
20 | 152ms | 6800kb | Corect! | 8 |
Punctaj total | 100 |