2 条题解

  • 1
    @ 2026-7-7 8:31:47
    #include <bits/stdc++.h>
    using namespace std;
    
    int main() {
    	int a;
    	cin >> a;
    	if (a >= 20 && a <= 30) {
    		cout << "OK";
    	} else {
    		cout << "NO";
    	}
    	return 0;
    }
    
    
    
    • 0
      @ 2026-6-1 21:37:48

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

      int main() { int t; cin >> t; if (t >= 20 && t <= 30) { cout << "OK"; } else { cout << "NO"; } return 0; }

      • 1

      信息

      ID
      30292
      时间
      1000ms
      内存
      256MiB
      难度
      2
      标签
      递交数
      33
      已通过
      24
      上传者