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_37591188_20414.cpp
0_0_37591188_20414.cpp(6) : error C2143: 语法错误 : 缺少“;”(在“<”的前面)
0_0_37591188_20414.cpp(6) : error C4430: 缺少类型说明符 - 假定为 int。注意:  C++ 不支持默认 int
0_0_37591188_20414.cpp(14) : error C2065: “ans”: 未声明的标识符
0_0_37591188_20414.cpp(14) : error C2228: “.insert”的左边必须有类/结构/联合
        类型是“unknown-type”
0_0_37591188_20414.cpp(24) : error C2065: “cin”: 未声明的标识符
0_0_37591188_20414.cpp(27) : error C2065: “ans”: 未声明的标识符
0_0_37591188_20414.cpp(27) : error C2228: “.clear”的左边必须有类/结构/联合
        类型是“unknown-type”
0_0_37591188_20414.cpp(29) : error C2065: “cin”: 未声明的标识符
0_0_37591188_20414.cpp(32) : error C2065: “cin”: 未声明的标识符
0_0_37591188_20414.cpp(36) : error C2065: “cout”: 未声明的标识符
0_0_37591188_20414.cpp(36) : error C2065: “ans”: 未声明的标识符
0_0_37591188_20414.cpp(36) : error C2228: “.size”的左边必须有类/结构/联合
        类型是“unknown-type”
0_0_37591188_20414.cpp(36) : error C2065: “endl”: 未声明的标识符


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-12-23 18:15:05, Gzip enabled