首页 > 代码库 > A simple problem(湘大邀请赛)
A simple problem(湘大邀请赛)
A simple problem | ||
Accepted : 61 | Submit : 418 | |
Time Limit : 15000 MS | Memory Limit : 655360 KB |
Problem DescriptionThere is a simple problem. Given a number N. you are going to calculate N%1+N%2+N%3+...+N%N. InputFirst line contains an integer T, there are T(1≤T≤50) cases. For each case T. The length N(1≤N≤1012). OutputOutput case number first, then the answer. Sample Input15 Sample OutputCase 1: 4 |
有没有人会做,用c或c++???求解答
本人QQ:2390956884
ps:http://202.197.224.59/OnlineJudge2/index.php/Problem/read/id/1203
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。