Created
November 1, 2012 03:33
-
-
Save logicmd/3991492 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/************************************************************************* | |
Author: logicmd | |
Created Time: 2012/11/1 11:24:29 | |
File Name: PaidRoads.cpp | |
Description: | |
************************************************************************/ | |
#include <cassert> | |
#include <iostream> | |
#include <vector> | |
#include <map> | |
#include <cstdio> | |
#include <string> | |
#include <utility> | |
#include <algorithm> | |
#define MAX 12 | |
struct Node | |
{ | |
int a, b, c, p, r, next; | |
}edge[MAX]; | |
int main() | |
{ | |
int N, m; | |
cin >> N >> m; | |
int a,b,c,p,r; | |
for(int i=0; i<m; i++) | |
{ | |
cin >> a >> b >> c >> p >> r; | |
//edge[i].a = a; | |
edge[i].b = b; | |
edge[i].c = c; | |
edge[i].p = p; | |
edge[i].r = r; | |
edge[i].next = a; | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment