- 頭文件沒了;
- 我感覺你打的是 `11d` 而不是 `lld`,`scanf` 輸入 `long long` 要用 `lld`;
- 輸出的結果也是有可能爆 `int`,也要用 `lld` 輸出。
by ShanCreeperPro @ 2023-10-15 20:35:27
首先头文件
```c
#include<stdio.h>
```
其次
```c
scanf("%lld%lld",&a,&b);//注意是l不是1
printf("%lld",a+b);
```
by Ssim_on_wxs @ 2023-10-15 20:38:36
```
#include<bits/stdc++.h>
using namespace std;
int main()
{
long long a,b;
cin>>a>>b;
cout<<a+b;
}
```
by zouyinghan @ 2023-12-26 12:21:01
输出要用%lld
by duweiming @ 2023-12-29 12:36:40
@[zouyinghan](/user/1075855)
这不是C,是C++
by duweiming @ 2023-12-29 12:37:40