举报3个用户抄题解
查看原帖
举报3个用户抄题解
735164
pengqiushi楼主2022/9/10 12:54

用户baiyang1清风雪月butterbread抄袭P1538的第一篇题解,证据如下:

https://www.luogu.com.cn/record/85526281

https://www.luogu.com.cn/record/85893434

https://www.luogu.com.cn/record/86047735

题解如下:

#include <bits/stdc++.h>
using namespace std;
int main()
{
    int k;
    string s,m[10]={"-|| ||-","  |  | ","- |-| -",
    "- |- |-"," ||- | ",    "-| - |-","-| -||-",
    "- |  | ","-||-||-","-||- |-"};
    cin>>k>>s;
    for (int p=0;p<7;p++){
        if (p==2 || p==5) continue;
        if (p%3==0){
            for (int i=0;i<s.size();i++){
                cout<<' ';
                for (int j=0;j<k;j++){
                    cout<<m[s[i]-48][p];
                }
                cout<<"  ";
            }
            cout<<endl;        
        }else{
            for(int q=0;q<k;q++){
                for (int i=0;i<s.size();i++){
                    cout<<m[s[i]-48][p];
                    for (int j=0;j<k;j++){
                        cout<<' ';
                    }
                    cout<<m[s[i]-48][p+1]<<' ';
                }
                cout<<endl;
            }
        }
    }
    return 0;
}

请管理员对此审判。

2022/9/10 12:54
加载中...