01 2025 档案

摘要:1.二分查找 思路: 使用二分法查找答案即可 代码: #include <iostream> #include <string.h> using namespace std; int main() { int n; cin>>n; int a[n]; for(int i=0;i<n;i++) { c 阅读全文
posted @ 2025-01-26 23:03 asdadsdf 阅读(39) 评论(0) 推荐(0)
摘要:1.Long Loong 思路: 读取n,使用for循环输出n个“o” 代码: #include <iostream> using namespace std; int main() { int n; cin>>n; cout<<"L"; for(int i=0;i<n;i++) { cout<<" 阅读全文
posted @ 2025-01-23 21:58 asdadsdf 阅读(38) 评论(0) 推荐(0)