6 solutions

  • 3
    @ 2024-1-27 11:33:55
    #include <iostream>
    #include <iomanip>
    using namespace std;
    
    int main()
    {
    	int x;
    	cin >> x;
    	if(x >= 10 && x <= 99) cout << "1" << endl;
    	else cout << "0" << endl;
    //	cout << fixed << setprecision(3) << x * 100 << "%" << endl;
    //	return 0;
    }
    
    • 2
      @ 2024-1-27 11:33:34
      #include <iostream>
      #include <iomanip>
      using namespace std;
      
      int main()
      {
      	int x;
      	cin >> x;
      	if(x >= 10 && x <= 99) cout << "1" << endl;
      	else cout << "0" << endl;
      //	cout << fixed << setprecision(3) << x * 100 << "%" << endl;
      //	return 0;
      }
      
      • 2
        @ 2023-12-22 21:51:22
        #include <iostream>
        using namespace std;
        int n;
        int main(){
        	cin>>n;
        	if(n>=10&&n<100) cout<<1;
        	else cout<<0;
        	return 0;
        }
        
        • 0
          @ 2023-12-17 22:02:04
          #include <iostream>
          #include <iomanip>
          #include <cmath>
          using namespace std;
          int main(){
          	int a , b;
          	cin >> a;
          	if(a >= 10 && a <= 99){
          		cout << 1 << endl;
          	}else{
          		cout << 0 << endl;
          	}
          	return 0;
          }
          
          • 0
            @ 2023-10-5 15:05:51
            #include<bits/stdc++.h>
            using namespace std;
            int main(){
            	int r;
            	cin>>r;
            	if ((r >= 10) && (r<=99))
                    cout<<"1";
                else
                    cout<<"0";
            	return 0;
            }//难点:水
            
            • -1
              @ 2024-1-26 11:58:20
              #include<bits/stdc++.h>
              #define ll long long
              using namespace std;
              int a;
              int main(){
              	cin>>a;
              	if(a/100==0&&a/10>0) cout<<1<<"\n";
              	else cout<<0<<"\n";
              	return 0;
              }
              
              • 1

              Information

              ID
              531
              Time
              1000ms
              Memory
              256MiB
              Difficulty
              7
              Tags
              # Submissions
              160
              Accepted
              42
              Uploaded By