#F. C++-循环for-输入一个正整数,判断是不是质数

    Type: Default 1000ms 256MiB

C++-循环for-输入一个正整数,判断是不是质数

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.

Background

Description

C++-循环for-输入一个正整数,判断是不是质数

Format

Input

Output

Samples

139
质数
10
合数
1
error,请输入大于或等于2的正整数

Limitation

1s, 1024KiB for each test case.

循环for

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
8
Start at
2024-4-27 17:15
End at
2024-5-10 5:15
Duration
300 hour(s)
Host
Partic.
9