Welcome   HUNAN NORMAL UNIVERSITY ACM/ICPC Judge Online
Home
FAQs
Problem Set
Practices
Online Contests
Major Exercises
OI Special
Judgement
Submit
Online Status
User Ranklist
Users
Register new
Login
Web Links
Hunan Normal University
College of Information Science and Engineering
求累加和数
Time Limit: 1000ms, Special Time Limit:2500ms, Memory Limit:32768KB
Total submit users: 138, Accepted users: 130
Problem 10097 : No special judgement
Problem description
  从键盘任意输入一个正整数number,求在number(1--number)之内所有能被4除余3,被7除余4,被9除余4的数之和。

Input
  有多组测试数据,每组测试数据占一行,只有一个整数number(1≤number≤215)。

Output
  每组输入数据输出一行,给出累加和数。

Sample Input
1
1000
1200
Sample Output
0
1780
2855
Problem Source
  Teacher Grh

Submit   Discuss   Judge Status  Problems  Ranklist 

HUNAN NORMAL UNIVERSITY ACM/ICPC Judge Online, Version 2010.5.5.final.
Web visits:18343 today,16241334 total, since 2010-05-07