2 条题解

  • 1
    @ 2026-1-31 15:19:21
    1. #include <bits/stdc++.h>

    2. using namespace std;

    3. int main() {

    4. int a, b, c;

    5. cin >> a >> b >> c;//输入a,b,c

    6. cout << (a + b) / c;//输出(a+b)/c的值

    7. return 0;

    8. }

    • 0
      @ 2026-1-9 23:13:16

      #include <bits/stdc++.h> using namespace std;

      int main() { int a, b, c; cin >> a >> b >> c; cout << (a + b)/c; return 0; }

      • 1

      信息

      ID
      549
      时间
      1000ms
      内存
      128MiB
      难度
      1
      标签
      递交数
      120
      已通过
      96
      上传者