1 条题解
-
0
本题是熟悉评测环境的入门题目
Python
import sys a, b = map(int, sys.stdin.read().split()) print(a + b)C++
#include<bits/stdc++.h> using namespace std; int main(){ ios::sync_with_stdio(false); cin.tie(nullptr); int a, b; cin >> a >> b; cout << a + b; }Java
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); long a = sc.nextLong(); long b = sc.nextLong(); System.out.println(a + b); sc.close(); } }Pascal
program Main; var a, b: Int64; begin readln(a, b); writeln(a + b); end.
- 1
信息
- ID
- 1
- 时间
- 1000ms
- 内存
- 256MiB
- 难度
- 1
- 标签
- 递交数
- 11
- 已通过
- 2
- 上传者