用long long

B2001 入门测试题目


by WA_sir @ 2024-01-30 11:11:13


yes
by sb_233 @ 2024-01-30 16:04:04


昂,屑屑。
by 11514zbs @ 2024-02-16 12:00:23


```cpp #include<bits/stdc++.h> using namespace std; int a , b ; int main(){ cin >> a >> b ; cout << a + b ; return 0; } ``` 这样会WA3个点:5、6、10 ,要AC必须用long long,附上AC代码 ```cpp #include<bits/stdc++.h> using namespace std; long long a , b ; int main(){ cin >> a >> b ; cout << a + b ; return 0; } ```
by wmhwuminhao @ 2024-02-23 16:59:13


|