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_30382097_32416.cpp:1:366: fatal error: GCC4.9.2/lib/gcc/x86_64-w64-mingw32/4.9.2/include/iostream>usin: Invalid argument
 #include<iostream>using namespace std;int main(){    int a[8],t,n,p,q,k,i;    cin>>t;    while(t--)    {        cin>>n;        for(i=1;i<=7;i++)        a[i]=i;        while(n--)        {            cin>>p>>q;            k=a[p];a[p]=a[q];a[q]=k;        }        for(i=1;i<=7;i++)        if(a[i]==2)        {            cout<<i<<endl;            break;        }    }}
                                                                                                                                                                                                                                                                                                                                                                              ^
compilation terminated.


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-29 00:21:56, Gzip enabled