1 条题解
-
1
superduo LV 5 MOD @ 2025-08-02 14:47:56
这道题十分简单,也有很多方法(如模拟退火,DFS,DP等)这里只讲最简单的一种。
首先输入两个数,在输出a+b就完事了
/************************************** 程序名:A+B Problem 说明: **************************************/ #include<bits/stdc++.h> using namespace std; int main() { int a,b; cin>>a>>b; cout<<a+b; return 0; }
- 1