Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
能不能告诉我区别下?为什么我用 memset( mat, 1, sizeof( mat ) ); for( i=0; i<m; i++ ) { scanf("%d%d",&s,&t); s--, t--; mat[s][t] = 0; } 是AC 但是用: memset( mat, 1, sizeof( mat ) ); for( i=0; i<m; i++ ) { scanf("%d%d",&s,&t); s--, t--; mat[s][t] = mat[t][s] = 0; } 是WA ??? 有什么实质性的区别吗? Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator