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_18859947_20205.cpp:11:1: error: 'vector' does not name a type
 vector<int> INP[2020], INQ[2020];
 ^
0_0_18859947_20205.cpp:12:1: error: 'vector' does not name a type
 vector<int> OUTP[2020], OUTQ[2020];
 ^
0_0_18859947_20205.cpp: In function 'int main()':
0_0_18859947_20205.cpp:16:16: error: 'scanf' was not declared in this scope
  scanf("%d", &t);
                ^
0_0_18859947_20205.cpp:20:4: error: 'INP' was not declared in this scope
    INP[i].clear();
    ^
0_0_18859947_20205.cpp:21:4: error: 'INQ' was not declared in this scope
    INQ[i].clear();
    ^
0_0_18859947_20205.cpp:22:4: error: 'OUTP' was not declared in this scope
    OUTP[i].clear();
    ^
0_0_18859947_20205.cpp:23:4: error: 'OUTQ' was not declared in this scope
    OUTQ[i].clear();
    ^
0_0_18859947_20205.cpp:30:6: error: 'INQ' was not declared in this scope
      INQ[j].push_back(i);
      ^
0_0_18859947_20205.cpp:31:6: error: 'OUTQ' was not declared in this scope
      OUTQ[i].push_back(j);
      ^
0_0_18859947_20205.cpp:34:6: error: 'INP' was not declared in this scope
      INP[j].push_back(i);
      ^
0_0_18859947_20205.cpp:35:6: error: 'OUTP' was not declared in this scope
      OUTP[i].push_back(j);
      ^
0_0_18859947_20205.cpp:41:23: error: 'INP' was not declared in this scope
    for(int j = 0; j < INP[i].size(); ++j)
                       ^
0_0_18859947_20205.cpp:42:23: error: 'OUTP' was not declared in this scope
    for(int k = 0; k < OUTP[i].size(); ++k) {
                       ^
0_0_18859947_20205.cpp:48:23: error: 'INQ' was not declared in this scope
    for(int j = 0; j < INQ[i].size(); ++j)
                       ^
0_0_18859947_20205.cpp:49:23: error: 'OUTQ' was not declared in this scope
    for(int k = 0; k < OUTQ[i].size(); ++k) {
                       ^
0_0_18859947_20205.cpp:58:16: error: 'printf' was not declared in this scope
    printf("N\n");
                ^
0_0_18859947_20205.cpp:60:16: error: 'printf' was not declared in this scope
    printf("T\n");
                ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-02-17 07:58:53, Gzip enabled