116 solutions

  • 5
    @ 2023-6-25 17:53:41

    c++:

    # include <bits/stdc++.h>
    using namespace std;
    int main() {
        int a, b;
        scanf("%d%d", &a, &b);
        printf("%d", a + b);
        return 0;
    }
    

    c++极限两行:

    # include <bits/stdc++.h>
    using namespace std;int main() {int a, b;scanf("%d%d", &a, &b);printf("%d", a + b);return 0;}
    

    python:

    # 加;是个人习惯
    a, b = map(int, input().split());
    print(a + b, end='');
    

    Information

    ID
    56
    Time
    1000ms
    Memory
    1024MiB
    Difficulty
    1
    Tags
    # Submissions
    7122
    Accepted
    3128
    Uploaded By