32 solutions

  • -6
    @ 2024-7-9 19:08:57
    #include<iostream>
    using namespace std;
    int main(){
    	cout<<"Hello,World!";
    	return 0;
    }
    
    • -6
      @ 2024-3-1 21:33:10

      #include using namespace std; struct node { char c; int a_114514; }; class a_word { public: node s; }; a_word a[114514]; string w="114514Hello,World!"; void f() { for(int i=6;i<w.size();i++) { cout<<a[i].s.c; } } int main() { for(int i=0;i<w.size();i++) { a[i].s.c=w[i]; } f(); return 0; }

      • -6
        @ 2024-1-27 11:15:25

        好难啊

        #include<iostream>
        using namespace std;
        struct node
        {
        	char c;
        	int a_114514;
        };
        class a_word
        {
        	public:
        		node s;
        };
        a_word a[114514];
        string w="114514Hello,World!";
        void f()
        {
        	for(int i=6;i<w.size();i++)
        	{
        		cout<<a[i].s.c;
        	}
        }
        int main()
        {
        	for(int i=0;i<w.size();i++)
        	{
        		a[i].s.c=w[i];
        	}
        	f();
        	return 0;
        }
        
        • -6
          @ 2023-12-7 19:35:06

          #include using namespace std; int main(){ cout<<"Hello,World!"; return 0; }

          • -6
            @ 2023-12-2 15:06:14
            #include <bits/stdc++.h>
            using namespace std;
            
            int main() {
                char s[] = "Hello,World!";
                char * p;
                for(p=s;*p!='\0';p++)// p=s“先让p指针指向s的第一位”,*p!='\0'“如p不等于s的最后一位”
                    cout << * p;
                return 0;
            }
            
            • -6
              @ 2023-11-22 16:29:01
              #include
              using namespace std;
              int main(int argc, char **argv){
                  printf("Hello,World!");
                  return 0;
              }
              
              • -6
                @ 2023-10-6 11:09:00
                include<iostream>
                using namespace std;
                int main(){
                	cout<<"Hello,World!"<<endl;
                	return 0;
                }
                
                • -7
                  @ 2024-10-1 14:27:02

                  wo shi sha bi

                  wo shi sha bi
                  
                • -7
                  @ 2023-11-24 21:27:45
                  #include<iostream>
                  using namespace std;
                  int main(){
                      int a;
                      cin>>a;
                      cout<<"Hello,World!";
                      return 0;
                  }
                  
                  • -7
                    @ 2023-9-16 16:40:37

                    #include <bits/stdc++.h> using namespace std; int n,maxn=0; int main(){ cout<<"Hello,World!"; return 0; }

                    • -9
                      @ 2024-1-23 21:30:17
                      #include <bits/stdc++.h>
                      using namespace std;
                      int a[10];
                      bool check(int x,int y,int z){
                          int d=x%10;
                          a[d]++;
                          d=(x/10)%10;
                          a[d]++;
                          d=(x/100)%10;
                          a[d]++;
                          d=y%10;
                          a[d]++;
                          d=(y/10)%10;
                          a[d]++;
                          d=(y/100)%10;
                          a[d]++;
                          d=z%10;
                          a[d]++;
                          d=(z/10)%10;
                          a[d]++;
                          d=(z/100)%10;
                          a[d]++;
                        
                          for(int i=1;i<=9;i++)
                          if (a[i]!=1) return false;
                      
                          return true;
                      
                      }
                      int main(){
                          long long A,B,C,x,y,z,v;
                          cin>>A>>B>>C;
                           int cnt=0;
                         for(x=123;x<=987;x++){
                          y=x*B/A;
                          z=x*C/A;
                          if(y>=1000||z>=1000) continue;
                          //cout<<x<<" "<<y<<"  "<<z<<"\n";
                          if(check(x,y,z)==true){
                              cout<<x<<" "<<y<<"  "<<z;
                              cnt++;
                          }
                          }
                          //cout<<cnt;
                        
                          if(cnt==0) cout<<"N0!!!";
                        
                        
                      }
                      
                      • -14
                        @ 2023-9-16 16:07:17

                        12345

                        Information

                        ID
                        542
                        Time
                        1000ms
                        Memory
                        256MiB
                        Difficulty
                        7
                        Tags
                        # Submissions
                        596
                        Accepted
                        157
                        Uploaded By