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_16194663_27314.c:12:1: error: unknown type name 'interval'
 interval mix(interval x,interval y)
 ^
0_0_16194663_27314.c:12:14: error: unknown type name 'interval'
 interval mix(interval x,interval y)
              ^
0_0_16194663_27314.c:12:25: error: unknown type name 'interval'
 interval mix(interval x,interval y)
                         ^
0_0_16194663_27314.c:25:1: error: unknown type name 'interval'
 interval cal(double a,double b)
 ^
0_0_16194663_27314.c: In function 'cal':
0_0_16194663_27314.c:27:2: error: unknown type name 'interval'
  interval temp;
  ^
0_0_16194663_27314.c:31:7: error: request for member 'l' in something not a structure or union
   temp.l = (D-b) / a;
       ^
0_0_16194663_27314.c:32:7: error: request for member 'r' in something not a structure or union
   temp.r = (360-D-b) / a;
       ^
0_0_16194663_27314.c:36:7: error: request for member 'r' in something not a structure or union
   temp.r = (D-b) / a;
       ^
0_0_16194663_27314.c:37:7: error: request for member 'l' in something not a structure or union
   temp.l = (360-D-b) / a;
       ^
0_0_16194663_27314.c:40:9: error: request for member 'l' in something not a structure or union
  if(temp.l < 0)
         ^
0_0_16194663_27314.c:41:7: error: request for member 'l' in something not a structure or union
   temp.l = 0;
       ^
0_0_16194663_27314.c:42:9: error: request for member 'r' in something not a structure or union
  if(temp.r > 60)
         ^
0_0_16194663_27314.c:43:7: error: request for member 'r' in something not a structure or union
   temp.r = 60;
       ^
0_0_16194663_27314.c:44:9: error: request for member 'l' in something not a structure or union
  if(temp.l >= temp.r)
         ^
0_0_16194663_27314.c:44:19: error: request for member 'r' in something not a structure or union
  if(temp.l >= temp.r)
                   ^
0_0_16194663_27314.c:45:7: error: request for member 'l' in something not a structure or union
   temp.l = temp.r = 0;
       ^
0_0_16194663_27314.c:45:16: error: request for member 'r' in something not a structure or union
   temp.l = temp.r = 0;
                ^
0_0_16194663_27314.c: In function 'happytime':
0_0_16194663_27314.c:52:2: error: unknown type name 'interval'
  interval res[3][2];
  ^
0_0_16194663_27314.c:53:2: error: unknown type name 'interval'
  interval result;
  ^
0_0_16194663_27314.c:58:58: error: expected expression before '%' token
  a1 = 1/120.0 - 1 /10.0,b1 = h * 30.0 + m /2.0 - m * 6.0;%
                                                          ^
0_0_16194663_27314.c:58:58: error: expected declaration or statement at end of input


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-03 04:57:08, Gzip enabled