2.15(Multiple of 3 Or 5)
https://acs.jxnu.edu.cn/problem/NOIOPJENGLISH23
描述:
How many positive integers are there which is less than N and is a multiple of 3 or a multiple of 5.
输入:
One positive integer N (N <= 100000).
输出:
One integer.
样例输入:
100
样例输出:
46
翻译:
有多少个正整数小于N并且是3或5的倍数。
输入:
一个正整数N(N <= 100000)
输出:
一个整数
样例输入:
100
样例输出:
46
版权声明:
作者:zhangchen
链接:https://www.techfm.club/p/21352.html
来源:TechFM
文章版权归作者所有,未经允许请勿转载。
THE END
二维码
共有 0 条评论