摘要:
题意分析: 将字符串倒着存入int数组中,每次加完后再取余除去大于10的部分关键:倒着存入,这样会明显缩短代码量。#include#include#includeusing namespace std;const int maxn = 100 + 10... 阅读全文
posted @ 2019-04-29 21:06
DIY-Z
阅读(95)
评论(0)
推荐(0)
摘要:
#includeusing namespace std;int solve(int &W) /*这里一定要用引用,为了赋给它值*/{ int wl, dl, wr, dr; cin >> wl >> dl >> wr >> dr... 阅读全文
posted @ 2019-04-29 20:09
DIY-Z
阅读(91)
评论(0)
推荐(0)

浙公网安备 33010602011771号