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_33324913_12376.cpp: In function 'int fun(double, double, double, double, double, double, double, double)':
0_0_33324913_12376.cpp:6:15: error: expected primary-expression before ')' token
     if(d2*d1<=)
               ^
0_0_33324913_12376.cpp:9:19: error: expected primary-expression before ')' token
         if(d3*d4<=)
                   ^
0_0_33324913_12376.cpp:10:13: error: return-statement with no value, in function returning 'int' [-fpermissive]
             return ;
             ^
0_0_33324913_12376.cpp:11:9: error: return-statement with no value, in function returning 'int' [-fpermissive]
         return ;
         ^
0_0_33324913_12376.cpp:14:9: error: return-statement with no value, in function returning 'int' [-fpermissive]
         return ;
         ^
0_0_33324913_12376.cpp: In function 'int main()':
0_0_33324913_12376.cpp:19:16: error: declaration of 'a' as multidimensional array must have bounds for all dimensions except the first
     double a[][];
                ^
0_0_33324913_12376.cpp:23:16: error: 'a' was not declared in this scope
         memset(a,,sizeof(a));
                ^
0_0_33324913_12376.cpp:23:18: error: expected primary-expression before ',' token
         memset(a,,sizeof(a));
                  ^
0_0_33324913_12376.cpp:24:19: error: expected primary-expression before ';' token
         int count=;
                   ^
0_0_33324913_12376.cpp:25:15: error: expected primary-expression before ';' token
         for(i=;i<=n;i++)
               ^
0_0_33324913_12376.cpp:26:40: error: expected primary-expression before ']' token
             scanf("%lf%lf%lf%lf",&a[i][],&a[i][],&a[i][],&a[i][]);
                                        ^
0_0_33324913_12376.cpp:26:48: error: expected primary-expression before ']' token
             scanf("%lf%lf%lf%lf",&a[i][],&a[i][],&a[i][],&a[i][]);
                                                ^
0_0_33324913_12376.cpp:26:56: error: expected primary-expression before ']' token
             scanf("%lf%lf%lf%lf",&a[i][],&a[i][],&a[i][],&a[i][]);
                                                        ^
0_0_33324913_12376.cpp:26:64: error: expected primary-expression before ']' token
             scanf("%lf%lf%lf%lf",&a[i][],&a[i][],&a[i][],&a[i][]);
                                                                ^
0_0_33324913_12376.cpp:27:15: error: expected primary-expression before ';' token
         for(j=;j<=n;j++)
               ^
0_0_33324913_12376.cpp:28:21: error: expected primary-expression before ';' token
             for(i=j+;i<=n;i++)
                     ^
0_0_33324913_12376.cpp:29:33: error: expected primary-expression before ']' token
                 count+=fun(a[j][],a[j][],a[j][],a[j][],a[i][],a[i][],a[i][],a[i][]);
                                 ^
0_0_33324913_12376.cpp:29:40: error: expected primary-expression before ']' token
                 count+=fun(a[j][],a[j][],a[j][],a[j][],a[i][],a[i][],a[i][],a[i][]);
                                        ^
0_0_33324913_12376.cpp:29:47: error: expected primary-expression before ']' token
                 count+=fun(a[j][],a[j][],a[j][],a[j][],a[i][],a[i][],a[i][],a[i][]);
                                               ^
0_0_33324913_12376.cpp:29:54: error: expected primary-expression before ']' token
                 count+=fun(a[j][],a[j][],a[j][],a[j][],a[i][],a[i][],a[i][],a[i][]);
                                                      ^
0_0_33324913_12376.cpp:29:61: error: expected primary-expression before ']' token
                 count+=fun(a[j][],a[j][],a[j][],a[j][],a[i][],a[i][],a[i][],a[i][]);
                                                             ^
0_0_33324913_12376.cpp:29:68: error: expected primary-expression before ']' token
                 count+=fun(a[j][],a[j][],a[j][],a[j][],a[i][],a[i][],a[i][],a[i][]);
                                                                    ^
0_0_33324913_12376.cpp:29:75: error: expected primary-expression before ']' token
                 count+=fun(a[j][],a[j][],a[j][],a[j][],a[i][],a[i][],a[i][],a[i][]);
                                                                           ^
0_0_33324913_12376.cpp:29:82: error: expected primary-expression before ']' token
                 count+=fun(a[j][],a[j][],a[j][],a[j][],a[i][],a[i][],a[i][],a[i][]);
                                                                                  ^


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-29 15:18:24, Gzip enabled