A+B problem题解 审核通过

CPP 刷题王 2023-08-23 17:00:28 81

这道题太简单了,我就不讲了

AC CODE:

import java.util.Scanner;
public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int a = in.nextInt();
        int b = in.nextInt();
        System.out.print(a + b + "\n");
    }
}

题目卡卡数据就会 TLE 了,愿各位 AK47 I OIER

{{ vote && vote.total.up }}

共 1 条回复

wyh15 Minecraft

import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int a = in.nextInt(); int b = in.nextInt(); System.out.print(a + b + "\n"); } }