摘要: 不难,代码: 阅读全文
posted @ 2018-03-19 19:47 NoRain丶 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 这题也是写了可长时间: #include #include #include #include #include #include #include #include #include #include #include using namespace std; typedef long long LL; map a;... 阅读全文
posted @ 2018-03-19 18:48 NoRain丶 阅读(359) 评论(0) 推荐(0) 编辑
摘要: 这种题不是考思维,就是考你细心程度还有基础知识的,代码如下: 阅读全文
posted @ 2018-03-19 18:46 NoRain丶 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 这个题太巧了,自己写好长时间都没写出来,最后还是看了大神代码才明白,思路确实太棒了,无可挑剔,主要思想就是利用字符串来存这个很长很大的数,n从1开始每次*10+1来算对K的商,取模后继续循环直到能除尽也就是直到对K取模等0跳出。代码如下: 阅读全文
posted @ 2018-03-19 18:45 NoRain丶 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 水题直接上代码: 阅读全文
posted @ 2018-03-19 18:41 NoRain丶 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 水题不多说,直接上代码:#include using namespace std; int main() { int a[101][101]; int b[101][101]; int m,n; int x,y; scanf(... 阅读全文
posted @ 2018-03-19 18:40 NoRain丶 阅读(406) 评论(0) 推荐(0) 编辑