摘要:
判断质数代码 #include<iostream> using namespace std; bool judge (int x) { for (int i = 2; i * i <= x; i++) { if (x % i == 0) return false; } return true; } 阅读全文
posted @ 2022-09-12 17:43
!&&||
阅读(65)
评论(0)
推荐(0)
摘要:
用数组来实现单链表,并支持链表的各种操作,能在OJ测试中获得更快的速度。 阅读全文
posted @ 2022-09-12 17:08
!&&||
阅读(75)
评论(0)
推荐(0)

浙公网安备 33010602011771号