为啥还是70分?

B2001 入门测试题目

@[Bugong](/user/361532) 把 `%d` 改成 `%lld`
by 2huk @ 2023-07-12 10:40:00


啊这
by __My0217__ @ 2023-07-12 10:42:55


@[2huk](/user/748509) 这个有什么讲究吗?刚接触不太懂
by Boogon @ 2023-07-12 10:45:31


@[Boogon](/user/361532) long long用这个
by Nahida_qwq @ 2023-07-12 11:00:49


@[Boogon](/user/361532) <https://oi-wiki.org/lang/basic/#scanf-%E4%B8%8E-printf>
by 2huk @ 2023-07-12 11:07:19


@[2huk](/user/748509) 感谢老师的帮助!
by Boogon @ 2023-07-12 11:17:14


```cpp cin>>a>>b; cout<<a+b; ``` 要是新手的话直接cin和cout就行了,注意用long long
by kkkse06 @ 2023-07-18 17:00:28


%d -> %lld
by qi__ @ 2023-08-12 10:05:12


@[Boogon](/user/361532) ~~可能是个人习惯~~ 建议把 longlong创建的变量写在一行(为了代码美观一些) ~~我在乱说~~
by Xiehongsheng @ 2023-09-07 19:55:18


用PYTHON写!```python a = int(input()) b = int(input()) print(a + b) 用C++写! #include<bits/stdc++.h> using namespace std; ```cpp int main() { long a,b; cin >> a >> b; cout << a + b; return 0; } ```
by James__ji @ 2023-10-01 10:30:40


| 下一页