Submission #186908
Source Code Expand
using System; using System.Linq; using System.Text; using System.Collections.Generic; namespace ConsoleApplication1 { partial class Program { static void Main(string[] args) { var inputs = Console.ReadLine(); var month = int.Parse(inputs); if (month == 12) { month = 0; } Console.WriteLine(month + 1); } } }
Submission Info
Submission Time | |
---|---|
Task | A - 来月は何月? |
User | takopoppo |
Language | C++ (G++ 4.6.4) |
Score | 0 |
Code Size | 365 Byte |
Status | CE |
Compile Error
./Main.cpp:1:7: error: expected nested-name-specifier before ‘System’ ./Main.cpp:1:7: error: ‘System’ has not been declared ./Main.cpp:2:7: error: expected nested-name-specifier before ‘System’ ./Main.cpp:2:7: error: ‘System’ has not been declared ./Main.cpp:2:13: error: expected ‘;’ before ‘.’ token ./Main.cpp:2:13: error: expected unqualified-id before ‘.’ token ./Main.cpp:3:7: error: expected nested-name-specifier before ‘System’ ./Main.cpp:3:7: error: ‘System’ has not been declared ./Main.cpp:3:13: error: expected ‘;’ before ‘.’ token ./Main.cpp:3:13: error: expected unqualified-id before ‘.’ token ./Main.cpp:4:7: error: expected nested-name-specifier before ‘System’ ./Main.cpp:4:7: error: ‘System’ has not been declared ./Main.cpp:4:13: error: expected ‘;’ before ‘.’ token ./Main.cpp:4:13: error: expected unqualified-id before ‘.’ token ./Main.cpp:8:2: error: ‘partial’ does not name a type