摘要:
一道简单的dijkstra 写了好久。。。了个大去 果然代码太弱了#include#include#include#define INF 0x3f3f3f3f#define MAXM 1009using namespace std;long long x[MAXM*MAXM],y[MAXM*MAXM... 阅读全文
摘要:
一道简单的用getline带空格带回车的字符串输入处理问题还是WA了一次 orz。。。。#include#include#includeusing namespace std;int main(){ int i,j,len; string str; int count=0; while(getlin... 阅读全文
摘要:
一道简单的dijkstra 写了好久。。。了个大去 果然代码太弱了#include#include#include#define INF 0x3f3f3f3f#define MAXM 1009using namespace std;long long x[MAXM*MAXM],y[MAXM*MAXM... 阅读全文