Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

交上没有过的注意一下这个问题

Posted by wangyiling at 2017-01-21 11:39:50 on Problem 3233
如果你用vector来存矩阵 一定要在输入n以后在对矩阵resize为n*n,否则它的size是之前分配的n 是垃圾值 赋值会segmentation fault

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator