1114 Vegan Day【PAT (Basic Level) Practice (Chinese)】
Original title link : 1114 Quan Su Ri (pintia.cn)
1 Introduction
-
PAT (Level B) 2020 Spring Examination Question 4
-
Score: 20
-
Difficulty: ⭐️⭐️⚝⚝⚝
-
Knowledge points:
- C Programming/Function and Program Structure/Function Definition and Calling
-
Methods and techniques
- Determine prime numbers (same as 1007, 1013, 1059, 1094, 1099, 1104)
int atoi(const char *str)
str
Convert the string pointed to by parameter into an integer (typeint
type).
-
operating restrictions
Code length limit 16 KB time limit 400 ms memory limit 64 MB stack limit 8192 KB