A Plus B - Simple


Submit solution

Points: 2 (partial)
Time limit: 1.0s
Memory limit: 64M

Author:
Problem type

題目說明

簡單加法

輸入

兩個數字

輸出

兩個數字相加的總和

範例輸入 #1

1 
1

範例輸出 #1

2

範例輸入 #2

3 
100

範例輸出 #2

103

範例輸入 #3

-1 
 1

範例輸出 #3

 0

Comments


  • 0
    scu15156117  commented on Oct. 7, 2026, 10:44 p.m.

    public class HW3_4 {

    public static void main(String[] args) {
        // TODO Auto-generated method stub
        System.out.println(1 + 1);