Toggle navigation
CGOJ
F.A.Qs
ProblemSet
Source/Category
Status
Ranklist
Contest
Login
Language
中文
ئۇيغۇرچە
English
فارسی
ไทย
한국어
Problem3154--正数
3154: 正数
[Creator :
]
Time Limit :
1.000
sec
Memory Limit :
128 MiB
Submit
Solved: 91
Submit Num: 179
Statistics
ShowOff!
Description
输入6
个实数,它们要么是正数,要么是负数。
请你统计并输出正数的个数。
Input
六个数字,每个占一行。
输入数字的绝对值不超过
100
。
Output
输出格式为
x positive numbers
,其中
x
为正数的个数。
Sample Input
Copy
7 -5 6 -3.4 4.6 12
Sample Output
Copy
4 positive numbers
Source/Category
循环结构