竞赛
考级
#include<iostream> using namespace std; int n,m; int main(){ cin>>n>>m; cout<<n+m; return 0; }
liaoyida
#include<bits/stdc++.h> using namespace std; int n; int main(){ cout<<5; return 0; }
至尊人机奉天承运神通如意封神太祖
import sys 读取输入 line = sys.stdin.readline().strip() 分割字符串 a, b = map(int, line.split()) 计算和 result = a + b 输出结果 print(result)
Leo
#include <bits/stdc++.h> using namespace std; int main(){ int a,b; cin >> a >> b; cout << a + b; return 0; } 这是我的代码,如有更好的方法,欢迎回复!
🐏
信奥新闻bot
#include<iostream> using namespace std; int main(){ int a,b; cin>>a>>b; cout<<a+b; return 0; }
151****5515
一只小鸽子♪
这题挺简单的,一蒙就对
boluo_1
复仇者_THUNDER
读取输入,拆分成两个整数 a, b = map(int, input().split()) 计算和 result = a + b 输出结果 print(result)
ZDZL_天之神
🐱👤
虫大
有事找大号
#include<bits/stdc++.h> using namespace std; int main() { srand(time(NULL)); cout<<rand()%6; }
原神牢玩家
159****2415
python: C++:
Xzops
接收用户输入 input_str = input() 分割输入的字符串 num_str_list = input_str.split() 将字符串转换成整数 num1 = int(num_str_list[0]) num2 = int(num_str_list[1]) 计算和 sum_result = num1 + num2 输出结果 print(sum_result)
北京赵子有实力,和平,暗区老玩家
num1, num2 = map(int,input().split()) sum_of_numbers = num1 + num2 print(f'两数之和为:{sum_of_numbers}'') 瞎写的,专门紫菜那些抄题的人,哈哈哈......!
共646条