摘要: Description描述CIA has decided to create a special telephone directory for its agents. The first 2 pages of the directory contain the name of the direct... 阅读全文
posted @ 2015-02-05 21:30 Ivy_End 阅读(364) 评论(0) 推荐(0) 编辑
摘要: Description描述You are given natural numbers a and b. Find ab-ba.给定自然数a、b,求ab-ba。Input输入Input contains numbers a and b (1≤a,b≤100).输入文件包含a和b(0#include u... 阅读全文
posted @ 2015-02-05 14:52 Ivy_End 阅读(242) 评论(0) 推荐(0) 编辑
摘要: Description描述Nearly prime number is an integer positive number for which it is possible to find such primesP1andP2that given number is equal toP1*P2. ... 阅读全文
posted @ 2015-02-05 14:46 Ivy_End 阅读(258) 评论(0) 推荐(0) 编辑
摘要: Description描述For given number N you must output amount of N-digit numbers, such, that last digits of their square is equal to 987654321.对于任意给定的数N,你需要输... 阅读全文
posted @ 2015-02-05 14:33 Ivy_End 阅读(200) 评论(0) 推荐(0) 编辑