Back to Problem
Submission for Watermelon
Status:Judge Error
Score:0.0 / 1.0 (0%)
Language:java
Submitted:11/6/2026, 7:00:07 AM
Visibility: Public
Judge Error Detalları
Codeforces sessiyanızın (JSESSIONID) vaxtı bitib. Zəhmət olmasa Settings (Tənzimləmələr) səhifəsindən aktiv Codeforces sessiyanızı (JSESSIONID) yenidən bağlayın.
Source Code
JAVA19 lines| 1 | |
| 2 | import java.util.Scanner; |
| 3 | |
| 4 | public class Main { |
| 5 | public static void main(String[] args) { |
| 6 | Scanner sc = new Scanner(System.in); |
| 7 | |
| 8 | int w = sc.nextInt(); |
| 9 | |
| 10 | if (w > 2 && w % 2 == 0) { |
| 11 | System.out.println("YES"); |
| 12 | } else { |
| 13 | System.out.println("NO"); |
| 14 | } |
| 15 | |
| 16 | sc.close(); |
| 17 | } |
| 18 | } |
| 19 |