Submission #2888258
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; long 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 | A - F |
User | sbite |
Language | C++14 (GCC 5.4.1) |
Score | 0 |
Code Size | 570 Byte |
Status | RE |
Exec Time | 99 ms |
Memory | 256 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 100 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | sampleNo.txt, sampleProd.txt, sampleSum.txt, samplex.txt |
All | sampleNo.txt, sampleProd.txt, sampleSum.txt, samplex.txt, test_10_6.txt, test_13_2.txt, test_15_1.txt, test_1_14.txt, test_1_15.txt, test_5_2.txt, test_5_3.txt, test_7_8.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
sampleNo.txt | RE | 97 ms | 256 KB |
sampleProd.txt | RE | 97 ms | 256 KB |
sampleSum.txt | RE | 97 ms | 256 KB |
samplex.txt | RE | 98 ms | 256 KB |
test_10_6.txt | RE | 97 ms | 256 KB |
test_13_2.txt | RE | 99 ms | 256 KB |
test_15_1.txt | RE | 97 ms | 256 KB |
test_1_14.txt | RE | 98 ms | 256 KB |
test_1_15.txt | RE | 98 ms | 256 KB |
test_5_2.txt | RE | 97 ms | 256 KB |
test_5_3.txt | RE | 97 ms | 256 KB |
test_7_8.txt | RE | 98 ms | 256 KB |