教教这个小菜
查看原帖
教教这个小菜
1372344
ZJY1207楼主2024/8/20 12:37

为为为为什么????

#include<bits/stdc++.h>
using namespace std;
int main()
{
	int a,b[12324],c[12324];
	string d,e,f;
	cin>>a;
	for(int i=0;i<a;i++){
		cin>>b[i]>>d>>e>>e>>f;
		if(d.size()==f.size()){
			cout<<b[i]<<" "<<d<<" = "<<b[i]*1000000<<f<<endl;
		}
		
		else{
			cout<<b[i]<<" "<<d<<" = "<<b[i]*1000<<f<<endl;
		}
	}
	return 0;
}
2024/8/20 12:37
加载中...