1 条题解

  • 0
    @ 2025-11-30 16:24:23

    C++ :

    #include <iostream>
    using namespace std;
    
    int main() {
        bool isPassed; // 定义一个布尔型变量
        int x;
        cin >> x;
        if (x>=60) isPassed = true; else isPassed = false;
        cout << isPassed << endl; // 输出结果(1 表示 true,0 表示 false)
        return 0;
    }
    
    • 1

    信息

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