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_30230783_8661.cpp:1:445: fatal error: GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stdc++.h>usin: Invalid argument
 #include <bits/stdc++.h>using namespace std;int arr[1000],n;void insertion_sort(){  for(int j=1;j<n;j++){    int key=arr[j];    for(int i=j-1;;i--){      if(i>=0&&arr[i]>key){        arr[i+1]=arr[i];      }else{        arr[i+1]=key;        break;      }    }  }}int main() {  int t;  cin >> t;  while (t--) {    cin>>n;    for(int i=0;i<n;i++)cin>>arr[i];    insertion_sort();    for(int i=0;i<n;i++)cout<<arr[i]<<(i==n-1?ā€˜\nā€˜:ā€˜ ā€˜);  }}
                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
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-11-30 12:08:28, Gzip enabled