F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_14564137_22686.cpp:1:7: error: expected nested-name-specifier before 'System'
 using System;
       ^
0_0_14564137_22686.cpp:20:5: error: expected ';' after class definition
     }
     ^
0_0_14564137_22686.cpp: In static member function 'static void ACMCS::HDU1001::Main()':
0_0_14564137_22686.cpp:9:13: error: 'string' was not declared in this scope
             string c; 
             ^
0_0_14564137_22686.cpp:11:21: error: 'c' was not declared in this scope
             while ((c = Console.ReadLine()) != null)
                     ^
0_0_14564137_22686.cpp:11:25: error: 'Console' was not declared in this scope
             while ((c = Console.ReadLine()) != null)
                         ^
0_0_14564137_22686.cpp:11:48: error: 'null' was not declared in this scope
             while ((c = Console.ReadLine()) != null)
                                                ^
0_0_14564137_22686.cpp:13:21: error: 'Convert' was not declared in this scope
                 n = Convert.ToInt32(c);
                     ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-07-08 05:44:46, Gzip enabled