1 条题解
-
1_Administrator_ LV 8 MOD @ 2020-02-28 19:35:05
抄吧,保证不封你!
Free Pascal Code
var a,b:longint; begin readln(a,b); writeln(a+b); end.
C Code
#include <stdio.h> int main(void) { int a, b; scanf("%d%d", &a, &b); printf("%d\n", a + b); return 0; }
C++ Code
#include <iostream> using namespace std; int main() { int a, b; cin >> a >> b; cout << a + b << endl; return 0; }
Python Code
a, b = [int(i) for i in raw_input().split()] print(a + b)
Java Code
import java.io.*; import java.util.Scanner; public class Main { /** * @param args * @throws IOException */ public static void main(String[] args) throws IOException { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); System.out.println(a + b); } }
- 1
信息
- ID
- 1005
- 难度
- 1
- 分类
- (无)
- 标签
- 递交数
- 16
- 已通过
- 8
- 通过率
- 50%
- 上传者