随笔分类 - 算法
摘要:题目描述 Given an integer N(0 ≤ N ≤ 10000), your task is to calculate N!. 解答要求 时间限制:5000ms, 内存限制:100MB 输入 One N in one line. 输出 For each N, output N! in o
阅读全文
摘要:题目描述 I have a very simple problem for you again. Given two integers A and B, your job is to calculate the result of A - B. 解答要求 时间限制:1000ms, 内存限制:100M
阅读全文
摘要:题目描述 I have a very simple problem for you. Given two integers A and B, your job is to calculate the Sum of A + B. 解答要求 时间限制:1000ms, 内存限制:100MB 输入 The
阅读全文
摘要:题目描述 2012伦敦奥运会即将到来,大家都非常关注奖牌榜的情况,现在我们假设奖牌榜的排名规则如下: 1、首先gold medal数量多的排在前面; 2、其次silver medal数量多的排在前面; 3、然后bronze medal数量多的排在前面; 4、若以上三个条件仍无法区分名次,则以国家名称
阅读全文

浙公网安备 33010602011771号