Submission #2888282
Source Code Expand
#include<bits/stdc++.h> #define INF 20000000001 using namespace std; struct edge{ int to,cost_y,cost_s; }; int main(){ long long int n,m,s,t; cin>>n>>m>>s>>t; unsigned long int d_s[n][n]={INF}; cout<<"t"<<endl; vector<edge> edges[n]; for(int i=0;i<n;i++){ edge e={i,0,0}; edges[i].push_back(e); } int u[m],v[m],a[m],b[m]; for(int i=0;i<m;i++){ cin>>u[i]>>v[i]>>a[i]>>b[i]; edge e1={u[i]-1,a[i],b[i]}; edges[v[i]-1].push_back(e1); edge e2={v[i]-1,a[i],b[i]}; edges[u[i]-1].push_back(e2); } }
Submission Info
Submission Time | |
---|---|
Task | D - Saving Snuuk |
User | sbite |
Language | C++14 (GCC 5.4.1) |
Score | 0 |
Code Size | 574 Byte |
Status | RE |
Exec Time | 197 ms |
Memory | 214784 KB |
Judge Result
Set Name | Sample | All | ||||||
---|---|---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 400 | ||||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | sampleRnd.txt, sampleT.txt |
All | 00yorimichi.txt, 11_0.txt, 11_1.txt, 11_2.txt, 11_3.txt, 11_4.txt, 1n1m1.txt, 1oo_0.txt, 1oo_1.txt, 1oo_2.txt, 1oo_3.txt, 1oo_4.txt, dangou_0.txt, dangou_1.txt, dangou_2.txt, dangou_3.txt, dangou_4.txt, edge.txt, high_0.txt, high_1.txt, high_2.txt, high_3.txt, high_4.txt, low_0.txt, low_1.txt, low_2.txt, low_3.txt, low_4.txt, oo1_0.txt, oo1_1.txt, oo1_2.txt, oo1_3.txt, oo1_4.txt, path_0.txt, path_1.txt, path_2.txt, path_3.txt, path_4.txt, path_5.txt, rnd_0.txt, rnd_1.txt, rnd_2.txt, rnd_3.txt, rnd_4.txt, sampleRnd.txt, sampleT.txt, slast_0.txt, slast_1.txt, slast_2.txt, slast_3.txt, slast_4.txt, tlast_0.txt, tlast_1.txt, tlast_2.txt, tlast_3.txt, tlast_4.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
00yorimichi.txt | RE | 96 ms | 256 KB |
11_0.txt | RE | 95 ms | 256 KB |
11_1.txt | WA | 197 ms | 214784 KB |
11_2.txt | RE | 96 ms | 256 KB |
11_3.txt | RE | 96 ms | 256 KB |
11_4.txt | RE | 96 ms | 256 KB |
1n1m1.txt | RE | 96 ms | 256 KB |
1oo_0.txt | RE | 95 ms | 256 KB |
1oo_1.txt | RE | 96 ms | 256 KB |
1oo_2.txt | WA | 105 ms | 6656 KB |
1oo_3.txt | RE | 96 ms | 256 KB |
1oo_4.txt | RE | 97 ms | 256 KB |
dangou_0.txt | WA | 113 ms | 7040 KB |
dangou_1.txt | RE | 97 ms | 256 KB |
dangou_2.txt | RE | 96 ms | 256 KB |
dangou_3.txt | WA | 89 ms | 55168 KB |
dangou_4.txt | RE | 96 ms | 256 KB |
edge.txt | RE | 96 ms | 256 KB |
high_0.txt | RE | 96 ms | 256 KB |
high_1.txt | RE | 98 ms | 256 KB |
high_2.txt | RE | 96 ms | 256 KB |
high_3.txt | WA | 18 ms | 1280 KB |
high_4.txt | RE | 96 ms | 256 KB |
low_0.txt | WA | 94 ms | 54912 KB |
low_1.txt | WA | 111 ms | 108160 KB |
low_2.txt | RE | 96 ms | 256 KB |
low_3.txt | RE | 96 ms | 256 KB |
low_4.txt | RE | 96 ms | 256 KB |
oo1_0.txt | RE | 96 ms | 256 KB |
oo1_1.txt | RE | 97 ms | 256 KB |
oo1_2.txt | RE | 97 ms | 256 KB |
oo1_3.txt | RE | 96 ms | 256 KB |
oo1_4.txt | RE | 97 ms | 256 KB |
path_0.txt | RE | 97 ms | 256 KB |
path_1.txt | RE | 96 ms | 256 KB |
path_2.txt | RE | 96 ms | 256 KB |
path_3.txt | RE | 96 ms | 256 KB |
path_4.txt | RE | 96 ms | 256 KB |
path_5.txt | RE | 98 ms | 256 KB |
rnd_0.txt | RE | 96 ms | 256 KB |
rnd_1.txt | RE | 96 ms | 256 KB |
rnd_2.txt | WA | 36 ms | 1920 KB |
rnd_3.txt | RE | 96 ms | 256 KB |
rnd_4.txt | RE | 96 ms | 256 KB |
sampleRnd.txt | WA | 1 ms | 256 KB |
sampleT.txt | WA | 1 ms | 256 KB |
slast_0.txt | RE | 96 ms | 256 KB |
slast_1.txt | WA | 130 ms | 10880 KB |
slast_2.txt | RE | 96 ms | 256 KB |
slast_3.txt | RE | 96 ms | 256 KB |
slast_4.txt | RE | 101 ms | 256 KB |
tlast_0.txt | WA | 174 ms | 151424 KB |
tlast_1.txt | RE | 96 ms | 256 KB |
tlast_2.txt | RE | 96 ms | 256 KB |
tlast_3.txt | RE | 97 ms | 256 KB |
tlast_4.txt | RE | 98 ms | 256 KB |