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

123259_0_9161.cpp
123259_0_9161.cpp(7) : error C2540: non-constant expression as array bound
123259_0_9161.cpp(7) : error C2440: '=' : cannot convert from 'int (*)[1]' to 'int *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
123259_0_9161.cpp(10) : error C2109: subscript requires array or pointer type
123259_0_9161.cpp(10) : error C2679: binary '>>' : no operator defined which takes a right-hand operand of type 'int' (or there is no acceptable conversion)
123259_0_9161.cpp(13) : error C2540: non-constant expression as array bound
123259_0_9161.cpp(13) : error C2440: '=' : cannot convert from 'int (*)[1]' to 'int *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
123259_0_9161.cpp(14) : error C2109: subscript requires array or pointer type
123259_0_9161.cpp(14) : error C2059: syntax error : '{'
123259_0_9161.cpp(14) : error C2143: syntax error : missing ';' before '{'
123259_0_9161.cpp(14) : error C2143: syntax error : missing ';' before '}'
123259_0_9161.cpp(19) : error C2109: subscript requires array or pointer type
123259_0_9161.cpp(19) : error C2109: subscript requires array or pointer type
123259_0_9161.cpp(19) : error C2109: subscript requires array or pointer type
123259_0_9161.cpp(19) : error C2106: '=' : left operand must be l-value
123259_0_9161.cpp(20) : error C2109: subscript requires array or pointer type
123259_0_9161.cpp(22) : error C2109: subscript requires array or pointer type
123259_0_9161.cpp(22) : error C2106: '-=' : left operand must be l-value
123259_0_9161.cpp(23) : error C2065: 'b' : undeclared identifier
123259_0_9161.cpp(23) : error C2109: subscript requires array or pointer type
123259_0_9161.cpp(23) : error C2109: subscript requires array or pointer type
123259_0_9161.cpp(23) : error C2105: '++' needs l-value
123259_0_9161.cpp(31) : error C2109: subscript requires array or pointer type


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-11-25 13:01:35, Gzip enabled