1 条题解

  • 0
    @ 2025-12-5 12:25:26

    C++ :

    #include <bits/stdc++.h>
    using namespace std;
    
    int main(){
        int x, n = 0;
        do {
            cin >> x;
            if (x == 0) {
                break;
            }
            if (x < 60) {
                n++;
            }
    
        }while (x != 0);
        cout << n;
        return 0;
    }
    
    
    
    • 1

    信息

    ID
    77
    时间
    1000ms
    内存
    128MiB
    难度
    (无)
    标签
    递交数
    0
    已通过
    0
    上传者