em,看不懂,确定是这题吗
by what_can_I_do @ 2023-06-02 22:32:12
## @[what_can_I_do](/user/658973) P1304
C++做的
~~你不会没学过吧~~
by SYX2022 @ 2023-06-02 22:38:52
@[SYX2022](/user/827723) 这就是累加呀,不是这道题吧???
by Smile_love @ 2023-06-02 22:40:58
@[Zhuhaodong123](/user/877753)
记住:P1304
by SYX2022 @ 2023-06-02 22:44:51
@[SYX2022](/user/827723) 你连个 ```using namespace std;``` 都不打真的能编译成功吗
by Aisaka_Taiga @ 2023-06-02 22:47:41
@[SYX2022](/user/827723) 哥德巴赫猜想呀,p1304这么写错了,要不给个题目链接
by Smile_love @ 2023-06-02 22:48:19
@[Aisaka_Taiga](/user/526519) 忘写了
by SYX2022 @ 2023-06-02 22:49:20
提供一个模板 @[SYX2022](/user/827723)
```cpp
#include<bits/stdc++.h>
#include<cstring>
#include<iostream>
#include<cmath>
#include<cstdio>
#define ll long long
using namespace std;
void ll_read(ll &x){
x=0;ll w=1;
char c=getchar();
while(c<'0'||c>'9'){
if(c=='-')
w=-1;
c=getchar();
}
while(c>='0'&&c<='9'){
x=x*10+c-'0';
c=getchar();
}
x*=w;
return;
}
void int_read(int &x){
x=0;int w=1;
char c=getchar();
while(c<'0'||c>'9'){
if(c=='-')
w=-1;
c=getchar();
}
while(c>='0'&&c<='9'){
x=x*10+c-'0';
c=getchar();
}
x*=w;
return;
}
void ll_print(ll x){
if(x<0){
putchar('-');
x=-x;
}
if(x>=10)
ll_print(x/10);
putchar(x%10+'0');
return;
}
void int_print(int x){
if(x<0){
putchar('-');
x=-x;
}
if(x>=10)
int_print(x/10);
putchar(x%10+'0');
return;
}
int main(){
return 0;
}
```
by Smile_love @ 2023-06-02 22:49:41
其一,你代码CE了。
其二,这关P1304什么事。
by AutomatiC__ @ 2023-06-02 22:49:57
@[Zhuhaodong123](/user/877753)
链接https://www.luogu.com.cn/problem/P1304
by SYX2022 @ 2023-06-02 22:51:07