求求了,给个答案吧

7 条评论

  • @ 2024-10-4 8:43:54

    第三题不会,醉了

    • @ 2024-10-4 8:40:58

      👀️

      • @ 2024-10-3 12:00:20

        a

        • @ 2024-10-3 12:00:00

          #include<bits/stdc++.h> using namespace std; int main() { freopen("light.in","r",stdin); freopen("light.out","w",stdout); int a,b,c,d=0; cin>>a>>b; for(int j=1;j<=a;j++) { int c=0; for(int i=2;i<=b;i++) { if(j/i*ij) { c++; } } if(c%2!=0||c1) { cout<<j<<" "; d++; } } if(d==0) { cout<<"NO"; } return 0; }

          • @ 2024-10-3 11:54:30
            • @ 2024-10-3 11:42:05

              3,4题的答案,求求了

              • @ 2024-10-3 11:42:04

                #include<bits/stdc++.h> using namespace std; int n[300000],p[300000],m; int main() { freopen("cut.in","r",stdin); freopen("cut.out","w",stdout); int a; cin>>a; for(int i=1;i<=a;i++) { cin>>n[i]>>p[i]; }

                cout<<12;
                
                
                
                
                return 0;
                

                }

                👍 2
                • 1