5 条题解

  • 2
    @ 2022-8-3 19:32:31
    #include <iostream>
    using namespace std;
    int main()
    {
        char c;
        int a , b;
        cin >> c;
        int k = int(c);
        if (k % 2 == 1) cout << "YES";
        else cout << "NO";
        return 0;
    }
    
    • 1
      @ 2023-10-1 16:27:17
      #include<iostream> 
      #include<cstdio> 
      #include<cmath> 
      #include<algorithm>
      using namespace std;
      int main(){
      	int a;
      	char c;
      	cin >> c;
      	a = c;
      	if (a%2 == 1){
      		cout << "YES";
      	}else{
      		cout << "NO";
      	}
      	return 0;
      }
      
      • 1
        @ 2022-8-13 20:13:10
        #include <iostream>
        using namespace std;
        int main()
        {
            char c;
            int a , b;
            cin >> c;
            if (c % 2 == 1) cout << "YES";
            else cout << "NO";
            return 0;
        }
        
        • 1
          @ 2022-7-4 23:01:13
          #include<iostream>
          using namespace std;
          int y;
          char j;
          int main(){
              cin>>j;y=j;
              if(y%2==1) cout<<"YES";
              else cout<<"NO";
              cout<<endl;return 0;
          }
          

          https://www.luogu.com.cn/record/65861815

          • 0
            @ 2023-10-22 11:18:01
            #include <bits/stdc++.h>
            using namespace std;
            int main()
            {
                char a;
                cin>>a;
                if((int)a%2==0) cout<<"NO"; else cout<<"YES";
                return 0;
            }
            
            • 1

            信息

            ID
            6850
            时间
            1000ms
            内存
            128MiB
            难度
            1
            标签
            (无)
            递交数
            63
            已通过
            44
            上传者