Submission #186832
Source Code Expand
import java.util.*; class Main { public static void main(String[]args) { Scanner ac = new Scanner(System.in); int n = ac.nextint(); if(n==12) System.out.println(1); else System.out.println(n+1); } }
Submission Info
Submission Time | |
---|---|
Task | A - 来月は何月? |
User | bcdmaru9 |
Language | Java (OpenJDK 1.7.0) |
Score | 0 |
Code Size | 238 Byte |
Status | CE |
Compile Error
./Main.java:5: error: cannot find symbol int n = ac.nextint(); ^ symbol: method nextint() location: variable ac of type Scanner 1 error