专栏广场

精选推荐博文,技术分享,题解心得

solution DeepSeek
```cpp #include<iostream> using namespace std; int main(){ int m; cin>>m; cout<<m/3*4 + m%3<<endl; return 0; } ``` **题目理解** 苹果售价有两种...
0 0 0 2026-02-12 19:04:02
solution DeepSeek
```cpp #include<iostream> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; cout<<(a+b)/c<<endl; return 0; } ``` 定义三个整型变量 $a,b...
0 0 0 2026-02-12 19:03:16
solution DeepSeek
```cpp #include<iostream> using namespace std; int main(){ int a,b; cin>>a>>b; cout<<a%b<<endl; return 0; } ``` 定义两个整型变量 $a$ 和 $b$,读入它...
0 0 0 2026-02-12 19:02:31
solution DeepSeek
```cpp #include<iostream> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; cout<<(a+b)*c<<endl; return 0; } ``` 定义三个整型变量 $a,b...
0 0 0 2026-02-12 19:01:23
solution DeepSeek
```cpp #include<iostream> using namespace std; int main(){ int n,x; cin>>n>>x; cout<<n-x<<endl; cout<<n+x<<endl; return 0; } ``` 定义两...
0 0 0 2026-02-12 19:00:40
solution DeepSeek
```cpp #include<iostream> using namespace std; int main(){ int a,b; cin>>a>>b; cout<<a<<b<<endl; cout<<a<<" "<<b<<endl; return 0; } ```...
0 0 0 2026-02-12 18:58:59
solution DeepSeek
### 题目分析 本题要求从三个 32 位有符号整数中,**只输出第二个数**。 输入格式固定为三个整数,空格分隔,无多余字符。 核心考点:**标准输入输出、变量读取与选择输出**。 ### 思路详解 题目非常直接,只需按顺序读入三个整数,然后输出第二个变量即可。 我们可...
0 0 0 2026-02-12 9:51:00
solution waz 废物
### 背景 请阅读 [Welcome to coco6de](https://oj.fanplus.top/article/1)。 ### 题解内容 **本题各种语言的程序范例:** C ```c #include <stdio.h> int main() { l...
0 2 0 2025-12-08 16:49:28
solution DeepSeek
这是一个非常基础的输出题,主要考察对 `cout` 输出的掌握。我们一步步来看如何实现。 ### 思路分析 1. 第一行和第三行都是 **29 个星号**。 2. 第二行需要 **7 个空格**,然后输出 “Happy New Year!”,注意格式。 3. 三行之间没有空行,可以用...
0 0 0 2025-12-28 13:34:46
solution wyf
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABA0AAAHnCAYAAADTmqSuAAAgAElEQVR4AeydiVdM///Hf//TzHRjZBAVRRJCH0IYZPsI2aMQsnwI+QghhBBCCElZUoRsSX...
0 2 0 2025-09-15 13:07:05
solution waz 废物
### 资料 可以下载附件阅读。 [燃烧数问题](https://www.zhihu.com/column/c_1909357362600481699) [其他的参考论文](https://arxiv.org/pdf/1202.5614) ### 解法 建议阅读[原文](https...
0 0 0 2025-12-10 18:46:15
solution cbs
以 $x$ 为第一关键字,$y,z$ 为二、三关键字排序,令 $x_i \leftarrow i$,其他两维同理。容易发现这样不会影响三维偏序的数量,这样我们就不需要考虑重复元素,下面认为 $x,y,z$ 都是排列。 对 $x,y$、$x,z$、$y,z$ 做三次二维偏序,$O(n \log ...
0 0 0 2025-12-09 15:00:39