• Bio

    #include<bits/stdc++.h> using namespace std; string a[10]; int main(){ for(int i=1;i<=8;i++){ cin>>a[i]; a[i]="+"+a[i]; } for(int i=1;i<=8;i++){ for(int j=1;j<=8;j++){ if(a[i][j]'#'){ for(int k=1;k<=8;k++){ if(a[i][k]'.')a[i][k]='+'; } for(int k=1;k<=8;k++){ if(a[k][j]=='.')a[k][j]='+'; } } } } cout<<; }

  • Accepted Problems

  • Recent Activities

    This person is lazy and didn't join any contests or homework.
  • Recent Solutions

    This person is lazy and didn't write any solutions.

Problem Tags

模拟
7
暴力
2
系统测试
1