[GESP202409 一级] 2. 美丽数字
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
题目描述
小杨有 n 个正整数,他认为一个正整数是美丽数字当且仅当该正整数是 9 的倍数但不是 8 的倍数。 小杨想请你编写一个程序计算 n 个正整数中美丽数字的数量。
输入格式
第一行包含一个正整数 n,代表正整数个数。
第二行包含 n 个正整数 。
输出格式
输出一个整数,代表其中美丽数字的数量。
样例
3
1
9
72
1
提示
C++ GESP 2024年9月 一级
- Status
- Done
- Rule
- OI
- Problem
- 3
- Start at
- 2024-9-29 18:30
- End at
- 2024-10-8 2:30
- Duration
- 200 hour(s)
- Host
- Partic.
- 41