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_16394329_23517.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_16394329_23517.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_16394329_23517.cpp:4:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_16394329_23517.cpp:5:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_16394329_23517.cpp:6:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_16394329_23517.cpp:13:1: error: 'map' does not name a type
 map C;
 ^
0_0_16394329_23517.cpp:15:1: error: 'vector' does not name a type
 vector vec;
 ^
0_0_16394329_23517.cpp: In function 'int find(int)':
0_0_16394329_23517.cpp:19:1: error: expected ';' before 'if'
 if (A[i] == a)
 ^
0_0_16394329_23517.cpp:19:1: error: expected primary-expression before 'if'
0_0_16394329_23517.cpp:19:1: error: expected ')' before 'if'
0_0_16394329_23517.cpp: In function 'void add()':
0_0_16394329_23517.cpp:25:15: error: 'scanf' was not declared in this scope
 scanf("%d", &x);
               ^
0_0_16394329_23517.cpp:26:5: error: 'C' was not declared in this scope
 if (C.count(x))
     ^
0_0_16394329_23517.cpp:27:23: error: 'printf' was not declared in this scope
 printf("same priority");
                       ^
0_0_16394329_23517.cpp:31:17: error: 'printf' was not declared in this scope
 printf("success");
                 ^
0_0_16394329_23517.cpp: In function 'void close()':
0_0_16394329_23517.cpp:36:15: error: 'scanf' was not declared in this scope
 scanf("%d", &x);
               ^
0_0_16394329_23517.cpp:37:5: error: 'C' was not declared in this scope
 if (C.count(x)) {
     ^
0_0_16394329_23517.cpp:38:38: error: 'printf' was not declared in this scope
 printf("close %d with %I64d", x, C[x]);
                                      ^
0_0_16394329_23517.cpp:46:1: error: expected ';' before 'A'
 A[i] = A[i+1];
 ^
0_0_16394329_23517.cpp:46:14: error: expected ')' before ';' token
 A[i] = A[i+1];
              ^
0_0_16394329_23517.cpp:49:26: error: 'printf' was not declared in this scope
 printf("invalid priority");
                          ^
0_0_16394329_23517.cpp: In function 'void chat()':
0_0_16394329_23517.cpp:53:15: error: 'scanf' was not declared in this scope
 scanf("%d", &x);
               ^
0_0_16394329_23517.cpp:55:15: error: 'printf' was not declared in this scope
 printf("empty");
               ^
0_0_16394329_23517.cpp:58:1: error: 'C' was not declared in this scope
 C[T] += x;
 ^
0_0_16394329_23517.cpp:59:1: error: 'vec' was not declared in this scope
 vec.push_back(T);
 ^
0_0_16394329_23517.cpp:61:1: error: 'C' was not declared in this scope
 C[A[0]] += x;
 ^
0_0_16394329_23517.cpp:62:1: error: 'vec' was not declared in this scope
 vec.push_back(A[0]);
 ^
0_0_16394329_23517.cpp:64:17: error: 'printf' was not declared in this scope
 printf("success");
                 ^
0_0_16394329_23517.cpp: In function 'void rotate()':
0_0_16394329_23517.cpp:69:15: error: 'scanf' was not declared in this scope
 scanf("%d", &x);
               ^
0_0_16394329_23517.cpp:70:8: error: expected ')' before 'N'
 if (x  N || x 
        ^
0_0_16394329_23517.cpp:77:17: error: 'printf' was not declared in this scope
 printf("success");
                 ^
0_0_16394329_23517.cpp: In function 'void prior()':
0_0_16394329_23517.cpp:83:15: error: 'printf' was not declared in this scope
 printf("empty");
               ^
0_0_16394329_23517.cpp:87:1: error: expected ';' before 'if'
 if (A[i]  x) {
 ^
0_0_16394329_23517.cpp:87:1: error: expected primary-expression before 'if'
0_0_16394329_23517.cpp:87:1: error: expected ')' before 'if'
0_0_16394329_23517.cpp:87:11: error: expected ')' before 'x'
 if (A[i]  x) {
           ^
0_0_16394329_23517.cpp:93:13: error: 'pos' was not declared in this scope
 int tmp = A[pos];
             ^
0_0_16394329_23517.cpp:97:17: error: 'printf' was not declared in this scope
 printf("success");
                 ^
0_0_16394329_23517.cpp: At global scope:
0_0_16394329_23517.cpp:99:1: error: expected declaration before '}' token
 }
 ^


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-09-28 15:18:15, Gzip enabled