1 solutions

  • 0
    @ 2026-10-18 10:40:02
    #include<bits/stdc++.h>
    using namespace std;
    int main(){
    
        int a, b, c;
        cin>>a>>b>>c;
        for(int y=1;y<=8;y++){
            for(int x=1;x<=16;x++){
                if((y-1)*16+x==a) cout<<(char) (a);
                else if((y-1)*16+x==b) cout<<(char) (b);
                else if((y-1)*16+x==c) cout<<(char) (c);
                else cout<<'*';
            }
            cout<<endl;
        }
        
    	return 0;
    }
    

    Information

    ID
    3589
    Time
    1000ms
    Memory
    512MiB
    Difficulty
    10
    Tags
    # Submissions
    3
    Accepted
    3
    Uploaded By