2 条题解

  • 1
    @ 2026-6-18 21:40:58
    
    #include<bits/stdc++.h>
    using namespace std;
    int main(){
    	string a[3];
    	cin>>a[0]>>a[1]>>a[2];
    	a[0].insert(0, "Mr. ");
    	a[1].insert(0, "Mr. ");
    	a[2].insert(0, "Mr. ");
    	cout<<a[0]<<'\n'<<a[1]<<'\n'<<a[2];
    	return 0;
    } 
    

    气死我了,远明的Mr. 的点后有空格。其实这题输入,然后提前输出Mr. 就可以了

    • -1
      @ 2024-12-16 12:26:26
      • 1

      信息

      ID
      166
      时间
      1000ms
      内存
      256MiB
      难度
      5
      标签
      (无)
      递交数
      62
      已通过
      26
      上传者