为什么在主函数中判断是否为素数会超时,而将判断素数的代码封装成函数来调用就AC了?代码基本不变,封装成函数速度会更快吗?

0 comments

No comments so far...

Information

ID
22
Time
1000ms
Memory
256MiB
Difficulty
8
Tags
# Submissions
705
Accepted
101
Uploaded By