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_34762964_13356.cpp:9:11: error: '::main' must return 'int'
 void main()
           ^
0_0_34762964_13356.cpp: In function 'int main()':
0_0_34762964_13356.cpp:27:40: error: cannot convert 'int (*)[100]' to 'int*' for argument '1' to 'int fun(int*, int, int)'
                 printf("%d ",fun(&a,x,y));
                                        ^
0_0_34762964_13356.cpp:38:40: error: cannot convert 'int (*)[100]' to 'int*' for argument '1' to 'int fun(int*, int, int)'
                 printf("%d ",fun(&a,x,y));
                                        ^
0_0_34762964_13356.cpp:40:43: error: cannot convert 'int (*)[100]' to 'int*' for argument '1' to 'int fun(int*, int, int)'
                 printf("%d",fun(&a,n-s+1,n));
                                           ^


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-19 15:11:17, Gzip enabled