18 条题解

  • 4
    @ 2024-2-23 10:10:46
    #include<bits/stdc++.h> 
    using namespace std;
    int main(){
        int a;
        cin>>a;
        if(a%3==0 and a%5==0)cout<<"YES";
        else{
        cout<<"NO";
    }
        return 0; 
    }
    
    • 0
      @ 2024-3-15 16:32:09
      #include<bits/stdc++.h> 
      using namespace std;
      int main(){
          int a;
          cin>>a;
          if(a%3==0 and a%5==0)cout<<"YES";
          else{
          cout<<"NO";
      }
          return 0; 
      }
      
      • 0
        @ 2024-3-3 8:35:38
        #include<bits/stdc++.h> 
        using namespace std;
        int main()
        {
            int n;
            cin>>n;
            if(n%3==0 and n%5==0)cout<<"YES";
            else{
            cout<<"NO";
        }
            return 0; 
        }
        
        • 0
          @ 2024-3-3 8:35:34
          #include<bits/stdc++.h> 
          using namespace std;
          int main()
          {
              int n;
              cin>>n;
              if(n%3==0 and n%5==0)cout<<"YES";
              else{
              cout<<"NO";
          }
              return 0; 
          }
          
          • 0
            @ 2024-2-23 9:52:05

            #include <bits/stdc++.h> using namespace std; int main() { int a; cin>>a; if (a%15==0){ cout<<"YES"; } if (a%15!=0){ cout<<"NO"; } return 0; }

            • 0
              @ 2024-2-23 9:49:14
              #include <bits/stdc++.h>
              using namespace std;
              int main(){
                  int a;
                  cin>>a;
                  if(a%3==0 and a%5==0)
                  cout<<"YES";
                  else
                   cout<<"NO";
                  return 0;
              }
              
              • -1
                @ 2025-2-22 8:50:39

                你被骗了

                • -1
                  @ 2025-2-21 14:51:23

                  #include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; if(n%30 and n%50) cout<<"YES"; if(n%30 and n%5!=0) cout<<"NO"; if(n%3!=0 and n%50) cout<<"NO"; if(n%3!=0 and n%5!=0) cout<<"NO"; return 0; }

                  • -1
                    @ 2025-2-21 14:44:06

                    #include<bits/stdc++.h> using namespace std; int main(){ int a,b; cin>>a>>b; if(a>=10 or b>=20){ cout<<1; } else{ cout<<0; } return 0; }

                    • -1
                      @ 2024-2-27 18:43:34
                      #include<bits/stdc++.h> 
                      using namespace std;
                      int main(){
                          int a;
                          cin>>a;
                          if(a%3==0 and a%5==0)cout<<"YES";
                          else{
                          cout<<"NO";
                      }
                          return 0; 
                      }
                      
                      • -2
                        @ 2024-2-23 10:28:15
                        #include<iostream>
                        using namespace std;
                        int main()
                        {
                            int a;
                            cin>>a;
                            if(a%15==0)
                            {
                                cout<<"YES";
                            }
                            else{
                                cout<<"NO";
                            }
                            return 0;
                        }
                        
                        • -2
                          @ 2024-2-23 9:36:20

                          #include <bits/stdc++.h> using namespace std; int main(){ int a; cin>>a; if(a%30 and a%50) cout<<"YES"; else cout<<"NO"; return 0; }

                          • -2
                            @ 2024-2-23 9:36:10

                            #include <bits/stdc++.h> using namespace std; int main(){ int a; cin>>a; if(a%30 and a%50) cout<<"YES"; else cout<<"NO"; return 0; }

                            • -2
                              @ 2024-2-22 21:39:49

                              #include<bits/stdc++.h> using namespace std; int main(){ int a; cin>>a; if(a%30 and a%50){ cout<<"YES"; } else{ cout<<"NO"; } return 0; }

                              • -3
                                @ 2024-2-28 17:29:36

                                鸡你太美

                                • -3
                                  @ 2024-2-23 9:45:30

                                  #include <bits/stdc++.h> using namespace std; int main(){ int a; cin>>a; if(a%30 and a%50) cout<<"YES"; else cout<<"NO"; return 0; }

                                  • -3
                                    @ 2024-2-23 9:44:59

                                    #include <bits/stdc++.h> using namespace std; int main(){ int a; cin>>a; if(a%30 and a%50) cout<<"YES"; else cout<<"NO"; return 0; }

                                    • -3
                                      @ 2024-2-23 9:36:36
                                      #include <bits/stdc++.h>
                                      using namespace std;
                                      int main(){
                                          int a;
                                          cin>>a;
                                          if(a%3==0 and a%5==0)
                                          cout<<"YES";
                                          else
                                           cout<<"NO";
                                          return 0;
                                      }
                                      
                                      • 1

                                      信息

                                      ID
                                      92
                                      时间
                                      1000ms
                                      内存
                                      128MiB
                                      难度
                                      3
                                      标签
                                      (无)
                                      递交数
                                      1017
                                      已通过
                                      570
                                      上传者