摘要:
https://blog.csdn.net/chensilly8888/article/details/42834697 这里面说了(a*b)% c=((a%c)(b%c))%c 但是代码里实际表示则为: cnt *= num % 50000; cnt %= 50000; 等同于: cnt=(cnt 阅读全文
posted @ 2020-02-09 20:05
暮云林凌
阅读(304)
评论(0)
推荐(0)
摘要:
基本思想: 找素数,再取模; 关键点: 存在一个待解决的问题,后续进行总结; #include<iostream> #include<stdlib.h> #include<stdio.h> #include<vector> #include<string> #include<math.h> #inc 阅读全文
posted @ 2020-02-09 19:02
暮云林凌
阅读(176)
评论(0)
推荐(0)
摘要:
基本思想: 没啥可说的,但是还是按照题目乖乖来,直接输出可能会导致情况考虑缺失; 注意的有两钟用例情况: 1.a为空,或者m为0; 2.a的长度大于M+N; 关键点: 无; #include<iostream> #include<stdlib.h> #include<stdio.h> #includ 阅读全文
posted @ 2020-02-09 15:09
暮云林凌
阅读(180)
评论(0)
推荐(0)
摘要:
基本思想: 弱智题; 关键点: 无; #include<iostream> #include<stdlib.h> #include<stdio.h> #include<vector> #include<string> #include<math.h> #include<algorithm> #inc 阅读全文
posted @ 2020-02-09 14:39
暮云林凌
阅读(189)
评论(0)
推荐(0)
摘要:
基本思想: 题中提示了,按秒计数,这样不用像蚂蚁问题一样考虑半秒; 关键点: 直接按秒计算; #include<iostream> #include<stdlib.h> #include<stdio.h> #include<vector> #include<string> #include<math 阅读全文
posted @ 2020-02-09 14:33
暮云林凌
阅读(254)
评论(0)
推荐(0)
摘要:
基本思想: 水题,没什么可说的; 关键点: 无; #include<iostream> #include<stdlib.h> #include<stdio.h> #include<vector> #include<string> #include<math.h> #include<algorithm 阅读全文
posted @ 2020-02-09 14:15
暮云林凌
阅读(199)
评论(0)
推荐(0)
摘要:
基本思想: 弱智题,没什么好说的; 关键点: 无; #include<iostream> #include<stdlib.h> #include<stdio.h> #include<vector> #include<string> #include<math.h> #include<algorith 阅读全文
posted @ 2020-02-09 14:02
暮云林凌
阅读(212)
评论(0)
推荐(0)

浙公网安备 33010602011771号