题解 | #你是天才吗?#

你是天才吗?

https://www.nowcoder.com/practice/557cc54704bb4d56b73b62d1a5455331

#include<bits/stdc++.h>
using namespace std;
int main() {
    int a;
    while (cin >> a) { //循环输入
        if (a >= 140) cout << "Genius" <<
                               endl; //判断,如若智商>=140,那么输出"Genius"。
    }
}

全部评论

相关推荐

不愿透露姓名的神秘牛友
2025-12-03 11:33
能赢到发光发热​:我被平均了,谁给我补差价?
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务