摘要:
#include using namespace std; int ag,as,ak; int bg,bs,bk; int cg,cs,ck; int main(){ scanf("%d.%d.%d",&ag,&as,&ak); scanf("%d.%d.%d",&bg,&bs,&bk); int c1=(ak+bk)/29; ck=(ak+bk)%29; int c2=(as+b... 阅读全文
摘要:
#include #include #include using namespace std; int n,m,s,d; int cityMap[500][500]; int costMap[500][500]; #define INF numeric_limits::max() int dp[500]; int vis[500]; int costDp[500]; vector rout... 阅读全文
摘要:
#include using namespace std; string tbl="0123456789ABC"; int main() { int a,b,c; cin>>a>>b>>c; int al=a%13,ah=a/13; int bl=b%13,bh=b/13; int cl=c%13,ch=c/13; cout<<"#"; cout<<tbl[ah]<<tbl[a... 阅读全文