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_13189701_24408.c: In function 'main':
0_0_13189701_24408.c:30:22: error: request for member 'l' in something not a structure or union
     scanf("%d %d", &P.l, &P.w);
                      ^
0_0_13189701_24408.c:30:28: error: request for member 'w' in something not a structure or union
     scanf("%d %d", &P.l, &P.w);
                            ^
0_0_13189701_24408.c:38:23: error: request for member 'l' in something not a structure or union
    printf("%d %d\n", P.l, P.w);
                       ^
0_0_13189701_24408.c:38:28: error: request for member 'w' in something not a structure or union
    printf("%d %d\n", P.l, P.w);
                            ^
0_0_13189701_24408.c:45:10: error: request for member 'check' in something not a structure or union
     if (P.check == 0)
          ^
0_0_13189701_24408.c:47:11: error: request for member 'l' in something not a structure or union
      l = P.l;
           ^
0_0_13189701_24408.c:48:11: error: request for member 'w' in something not a structure or union
      w = P.w;
           ^
0_0_13189701_24408.c:49:7: error: request for member 'check' in something not a structure or union
      P.check = 1;
       ^
0_0_13189701_24408.c:59:10: error: request for member 'l' in something not a structure or union
     if (P.l >= l && P.w >= w && P.check == 0)
          ^
0_0_13189701_24408.c:59:22: error: request for member 'w' in something not a structure or union
     if (P.l >= l && P.w >= w && P.check == 0)
                      ^
0_0_13189701_24408.c:59:34: error: request for member 'check' in something not a structure or union
     if (P.l >= l && P.w >= w && P.check == 0)
                                  ^
0_0_13189701_24408.c:61:7: error: request for member 'check' in something not a structure or union
      P.check = 1;
       ^
0_0_13189701_24408.c: In function 'sort':
0_0_13189701_24408.c:97:21: error: 'n' undeclared (first use in this function)
     for (i = 0; i < n; i++)
                     ^
0_0_13189701_24408.c:97:21: note: each undeclared identifier is reported only once for each function it appears in


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 19:43:43, Gzip enabled