2 条题解

  • 0
    @ 2026-2-5 11:17:05

    #include<bits/stdc++.h> using namespace std; int main() { int n; cin>>n; if(n>=10&&n<=99){ cout<<"1"; }else{ cout<<"0"; } return 0; }

    • 0
      @ 2026-1-5 18:38:25
      #include<bits/stdc++.h>//万能头
      using namespace std;
      int main()
      {
      	short a;//定义 
      	cin>>a;//输入 
      	if(a>9 and a<100)//and 等于 && 
      	{
      		cout<<"1";
      		exit(0);
      	} 
      	cout<<0;
      	return 0;//结束 
      }
      
      
      • 1

      信息

      ID
      247
      时间
      1000ms
      内存
      256MiB
      难度
      6
      标签
      (无)
      递交数
      17
      已通过
      12
      上传者