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 |
Re:示例运行没错,submit结果Time Limit Exceeded,求大神解惑In Reply To:Re:示例运行没错,submit结果Time Limit Exceeded,求大神解惑 Posted by:18292678471 at 2017-11-01 11:04:21 Java虽然不是很清楚, 但是在循环里各种函数调用嵌套函数调用, 各种new, 效率肯定会很低滴, 毕竟循环n的量级还是很大滴 输出部分, 每个结果调用一次输出函数, 毕竟是IO调用开销也不小 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator