#J3011. 先2后3
先2后3
题目描述
给定一个正整数 n ,请你计算[1,n] 范围内一共有多少个正整数满足能被 2 整除,但不能被 3 整除。输入格式
一个正整数 n。输出格式
一个整数,表示满足条件的整数的数量。104
104
By signing up a Hydro universal account, you can submit code and join discussions in all online judging services provided by us.