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_13676242_24819.c:14:1: error: unknown type name 'interval'
 interval jiao(interval a,interval b)
 ^
0_0_13676242_24819.c:14:15: error: unknown type name 'interval'
 interval jiao(interval a,interval b)
               ^
0_0_13676242_24819.c:14:26: error: unknown type name 'interval'
 interval jiao(interval a,interval b)
                          ^
0_0_13676242_24819.c:26:1: error: unknown type name 'interval'
 interval calculate(double a,double b)
 ^
0_0_13676242_24819.c: In function 'calculate':
0_0_13676242_24819.c:28:5: error: unknown type name 'interval'
     interval result;
     ^
0_0_13676242_24819.c:31:15: error: request for member 'right' in something not a structure or union
         result.right = (360.0 - d - a) / b;
               ^
0_0_13676242_24819.c:32:15: error: request for member 'left' in something not a structure or union
         result.left =(d - a) / b;
               ^
0_0_13676242_24819.c:36:15: error: request for member 'right' in something not a structure or union
         result.right = ( d - a) / b;
               ^
0_0_13676242_24819.c:37:15: error: request for member 'left' in something not a structure or union
         result.left = (360.0 - d - a) / b;
               ^
0_0_13676242_24819.c:39:14: error: request for member 'left' in something not a structure or union
     if(result.left >= result.right)
              ^
0_0_13676242_24819.c:39:29: error: request for member 'right' in something not a structure or union
     if(result.left >= result.right)
                             ^
0_0_13676242_24819.c:40:15: error: request for member 'left' in something not a structure or union
         result.left = result.right = 0;
               ^
0_0_13676242_24819.c:40:29: error: request for member 'right' in something not a structure or union
         result.left = result.right = 0;
                             ^
0_0_13676242_24819.c:42:5: error: expected expression before '/' token
     //与(0,60)取交集
     ^
0_0_13676242_24819.c:42:5: error: stray '\323' in program
0_0_13676242_24819.c:42:5: error: stray '\353' in program
0_0_13676242_24819.c:42:5: error: stray '\310' in program
0_0_13676242_24819.c:42:5: error: stray '\241' in program
0_0_13676242_24819.c:42:5: error: stray '\275' in program
0_0_13676242_24819.c:42:5: error: stray '\273' in program
0_0_13676242_24819.c:42:5: error: stray '\274' in program
0_0_13676242_24819.c:42:5: error: stray '\257' in program
0_0_13676242_24819.c: In function 'solve':
0_0_13676242_24819.c:50:5: error: unknown type name 'interval'
     interval temp;
     ^
0_0_13676242_24819.c:52:5: error: expected expression before '/' token
     //处理d<|hd-md|<360-d
     ^
0_0_13676242_24819.c:52:5: error: stray '\264' in program
0_0_13676242_24819.c:52:5: error: stray '\246' in program
0_0_13676242_24819.c:52:5: error: stray '\300' in program
0_0_13676242_24819.c:52:5: error: stray '\355' in program
0_0_13676242_24819.c:55:14: error: incompatible types when assigning to type 'struct interval' from type 'int'
     ps[0][0] = calculate( a, b);
              ^
0_0_13676242_24819.c:56:14: error: incompatible types when assigning to type 'struct interval' from type 'int'
     ps[0][1] = calculate( -a, -b);
              ^
0_0_13676242_24819.c:58:5: error: expected expression before '/' token
     //处理d<|hd-sd|<360-d
     ^
0_0_13676242_24819.c:58:5: error: stray '\264' in program
0_0_13676242_24819.c:58:5: error: stray '\246' in program
0_0_13676242_24819.c:58:5: error: stray '\300' in program
0_0_13676242_24819.c:58:5: error: stray '\355' in program
0_0_13676242_24819.c:61:14: error: incompatible types when assigning to type 'struct interval' from type 'int'
     ps[1][0] = calculate( a, b);
              ^
0_0_13676242_24819.c:62:14: error: incompatible types when assigning to type 'struct interval' from type 'int'
     ps[1][1] = calculate( -a, -b);
              ^
0_0_13676242_24819.c:64:5: error: expected expression before '/' token
     //处理d<|md-sd|<360-d
     ^
0_0_13676242_24819.c:64:5: error: stray '\264' in program
0_0_13676242_24819.c:64:5: error: stray '\246' in program
0_0_13676242_24819.c:64:5: error: stray '\300' in program
0_0_13676242_24819.c:64:5: error: stray '\355' in program
0_0_13676242_24819.c:67:14: error: incompatible types when assigning to type 'struct interval' from type 'int'
     ps[2][0] = calculate( a, b);
              ^
0_0_13676242_24819.c:68:14: error: incompatible types when assigning to type 'struct interval' from type 'int'
     ps[2][1] = calculate( -a, -b);
              ^
0_0_13676242_24819.c:76:35: error: request for member 'right' in something not a structure or union
                     result += temp.right - temp.left;
                                   ^
0_0_13676242_24819.c:76:48: error: request for member 'left' in something not a structure or union
                     result += temp.right - temp.left;
                                                ^


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-02 18:00:45, Gzip enabled