统计满足条件的4位数
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.
【题目描述】
给定若干个四位数,求出其中满足以下条件的数的个数:个位数上的数字减去千位数上的数字,再减去百位数上的数字,再减去十位数上的数字的结果大于零。
【输入】
输入为两行,第一行为四位数的个数 ,第二行为 个的四位数。()
【输出】
输出为一行,包含一个整数,表示满足条件的四位数的个数。
【输入样例】
5
1234 1349 6119 2123 5017
【输出样例】
3
【来源】
一本通在线评测
初一期末考 入门组
- Status
- Done
- Rule
- IOI
- Problem
- 8
- Start at
- 2026-1-16 10:30
- End at
- 2026-1-16 12:21
- Duration
- 1.9 hour(s)
- Host
- Partic.
- 39