package
main

import "fnt"

func main() {
    var a, b int
    fmt.Scan(&a, &b)
    sum := a + b
    fmt.Println(sum)
}

ToT

4 comments

  • @ 2025-1-17 15:55:25

    有点小题大做了吧😥 #include<bits/stdc++.h> using namespace std; int main(){ int a,b,c; cin>>a>>b; c=a+b; cout<<c; }

    • @ 2024-9-20 22:24:02

      《fnt》

      • @ 2024-9-6 22:12:03

        👎 3
        🤔 1
        👀 1
        • @ 2024-9-2 23:35:30

          既然可以简单些,何必这么麻烦呢?

          • 1

          Information

          ID
          56
          Time
          1000ms
          Memory
          256MiB
          Difficulty
          1
          Tags
          # Submissions
          9678
          Accepted
          4371
          Uploaded By