且未

博客园 首页 新随笔 联系 订阅 管理

2018年7月17日 #

摘要: 题目输入:n 和 mod输出:Output the answer of (0! + 1! + 2! + 3! + 4! + ... + n!)%m.Constrains0 =mod 时,就可以break了。#include #include #include usin... 阅读全文
posted @ 2018-07-17 13:37 阿聊 阅读(93) 评论(0) 推荐(0)

摘要: #include #include #include using namespace std;int main(){ char num[110]; scanf("%s",num); int len = strlen(num); int t=1,... 阅读全文
posted @ 2018-07-17 13:15 阿聊 阅读(156) 评论(0) 推荐(0)