3 条题解

  • 1
    @ 2025-12-15 19:57:14

    肯定开空调!!!

    • 0
      @ 2025-5-27 20:11:42

      简单的要命 题目传送门

      #include <iostream>
      #include <algorithm>
      #include <cmath>
      #include <cstdio>
      using namespace std;
      int n;int main() {
      	cin >> n;if (n > 30)
      		cout << "开空调";
      	else cout << "不开空调";
      }
      
      
      • 0
        @ 2024-12-22 11:03:57

        C++ :

        #include<iostream>
        using namespace std;
        int main(){
        	float a;
        	cin>>a;
        	if(a>30.0)
        	cout<<"开空调";
        	else cout<<"不开空调";
        	return 0;
        }
        

        Python :

        # coding=utf-8
        a=float(input())
        if a>30:
            print("开空调")
        else:
            print("不开空调")
        
        • 1

        信息

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