整型与布尔型的转换
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.
Description
Assign the value of an integer variable to a boolean variable, then assign the value of this boolean variable back to an integer variable. What is the resulting value?
Input Format
An integer within the range of integer values, which is the initial value of the integer variable.
Output Format
An integer, the result obtained after the described process.
3
1
20251025A班作业(4)
- Status
- Done
- Problem
- 8
- Open Since
- 2025-10-25 0:00
- Deadline
- 2025-11-2 23:59
- Extension
- 24 hour(s)