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_1440156_9033.cpp: In function `elem_t prim(int, elem_t (*)[200], int*)':
0_0_1440156_9033.cpp:11: error: incompatible types in assignment of `int' to `elem_t[200]'
0_0_1440156_9033.cpp:11: error: incompatible types in assignment of `int' to `int[200]'
0_0_1440156_9033.cpp:11: error: invalid conversion from `int' to `int*'
0_0_1440156_9033.cpp:14: error: ISO C++ forbids comparison between pointer and integer
0_0_1440156_9033.cpp:18: error: invalid conversion from `int' to `int*'
0_0_1440156_9033.cpp:18: error: invalid types `elem_t (*)[200][int*]' for array subscript
0_0_1440156_9033.cpp: In function `int main()':
0_0_1440156_9033.cpp:32: error: incompatible types in assignment of `int' to `int[200]'
0_0_1440156_9033.cpp:33: error: incompatible types in assignment of `int' to `int[200]'
0_0_1440156_9033.cpp:50: error: ISO C++ forbids comparison between pointer and integer
0_0_1440156_9033.cpp:52: error: wrong type argument to unary minus
0_0_1440156_9033.cpp:53: error: invalid conversion from `int*' to `int'


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 11:03:25, Gzip enabled