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_13562959_8857.cpp:1:554: fatal error: GCC4.9.2/lib/gcc/x86_64-w64-mingw32/4.9.2/include/stdio.h>intmai: Invalid argument
 #include<stdio.h>intmain(){    int m,n,i,j,t,k;    int str[1000];    scanf("%d",&n);    for(i=0;i<n;i++){        scanf("%d",&m);        for(j=0;j<m;j++)            scanf("%d",&str[j]);        for(j=0;j<m-1;j++){            for(t=m-2;t>=j;t--)                if(str[t]>str[t+1]){                    k=str[t];                    str[t]=str[t+1];                    str[t+1]=k;                }        }        printf("%d",str[0]);          for(j=1;j<m;j++)                printf(" %d",str[j]); // 注意不要有行尾空格        printf("\n");    }    return 0;}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
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-12-02 11:26:35, Gzip enabled