1 条题解

  • 0
    @ 2025-4-12 21:33:54

    C++ :

    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
    	cout<<"6"<<" "<<"7"<<" "<<"8"<<" "<<"9";
    	return 0;
    }
    

    Pascal :

    var a,b,c,d:longint;
    begin
      for a:=1 to 10 do
        for b:=a+1 to 10 do
           for c:=b+1 to 10 do
               for d:=c+1 to 10 do
              if a*b*c*d=3024 then write(a,' ',b,' ',c,' ',d);
      end.
    
    
    • 1

    信息

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