1 solutions
-
0
Java :
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO 自动生成的方法存根 Scanner in = new Scanner(System.in); int a=in.nextInt(); if (a % 2 == 0){ System.out.println("true"); } else { System.out.println("false"); } int b=in.nextInt(); if (b % 2 == 0){ System.out.println("true"); } else { System.out.println("false"); } } }
- 1
Information
- ID
- 2232
- Time
- 1000ms
- Memory
- 128MiB
- Difficulty
- (None)
- Tags
- # Submissions
- 0
- Accepted
- 0
- Uploaded By