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_37728394_23273.cpp: In function 'bool check(int)':
0_0_37728394_23273.cpp:7:17: error: 'l' was not declared in this scope
     int ldown = l[x-1][0] + 1;
                 ^
0_0_37728394_23273.cpp:10:17: error: 'r' was not declared in this scope
     if (ldown > r[x+1][1] || lup < r[x+1][0])
                 ^
0_0_37728394_23273.cpp:13:17: error: 'r' was not declared in this scope
     int rdown = r[x+1][0] + 1;
                 ^
0_0_37728394_23273.cpp: In function 'int judge()':
0_0_37728394_23273.cpp:22:5: error: 'n' was not declared in this scope
     n = strlen(s+1);
     ^
0_0_37728394_23273.cpp:22:16: error: 's' was not declared in this scope
     n = strlen(s+1);
                ^
0_0_37728394_23273.cpp:22:19: error: 'strlen' was not declared in this scope
     n = strlen(s+1);
                   ^
0_0_37728394_23273.cpp:27:12: error: 'l' was not declared in this scope
     memset(l[0], 0, sizeof(l[0]));
            ^
0_0_37728394_23273.cpp:27:33: error: 'memset' was not declared in this scope
     memset(l[0], 0, sizeof(l[0]));
                                 ^
0_0_37728394_23273.cpp:28:12: error: 'r' was not declared in this scope
     memset(r[n+1], 0, sizeof(r[n+1]));
            ^
0_0_37728394_23273.cpp: In function 'int main()':
0_0_37728394_23273.cpp:72:24: error: 's' was not declared in this scope
     while (scanf("%s", s+1) == 1) {
                        ^
0_0_37728394_23273.cpp:72:27: error: 'scanf' was not declared in this scope
     while (scanf("%s", s+1) == 1) {
                           ^
0_0_37728394_23273.cpp:75:28: error: 'printf' was not declared in this scope
             printf("Many\n");
                            ^
0_0_37728394_23273.cpp:77:30: error: 'printf' was not declared in this scope
             printf("Unique\n");
                              ^
0_0_37728394_23273.cpp:79:28: error: 'printf' was not declared in this scope
             printf("None\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-10-31 13:31:16, Gzip enabled