1 solutions

  • 0
    @ 2025-11-5 16:15:47

    C++ :

    #include<bits/stdc++.h>
    using namespace std;
    
    int main()
    {
    	for(int i=0;i<2;i++,cout<<endl)
    	{
    		for(int j=0;j<20;j++)
    		{
    			cout<<"*";
    		}
    	}
    	return 0;
    }
    

    Pascal :

    var i:integer;
    begin
        for i:=1 to 20 do
        begin
            write('*');
        end;
        writeln;
        for i:=1 to 20 do
        begin
            write('*');
        end;
    end.
    
    • 1

    Information

    ID
    17623
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    (None)
    Tags
    # Submissions
    0
    Accepted
    0
    Uploaded By