为啥这个红题还会超时!
  • 板块灌水区
  • 楼主2009niuniu
  • 当前回复11
  • 已保存回复11
  • 发布时间2023/9/23 22:50
  • 上次更新2023/11/2 18:25:08
查看原帖
为啥这个红题还会超时!
997261
2009niuniu楼主2023/9/23 22:50
#include<bits/stdc++.h>
using namespace std;
string a[3];
int main()
{
    cin>>a[0]>>a[1]>>a[2];
    for(int i=0;i<3;i++)
    {
        for(int j=0;j<8-a[i].length();j++)
        {
            cout<<' ';
        }
        cout<<a[i];
        cout<<' ';
    }
    return 0;
}
2023/9/23 22:50
加载中...