1 条题解
-
1
#include <bits/stdc++.h> using namespace std; #define ll long long string a,b; ll n; int main(){ ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); cin>>n; for(ll i=1;i<=n;i++){ cin>>a>>b; if(a.length()>b.length()){ cout<<a<<" is longer than "<<b<<endl; } else if(a.length()<b.length()){ cout<<a<<" is shorter than "<<b<<endl; } else{ cout<<a<<" is equal long to "<<b<<endl; } } return 0; }
- 1
信息
- ID
- 1142
- 时间
- 1000ms
- 内存
- 128MiB
- 难度
- 5
- 标签
- 递交数
- 19
- 已通过
- 13
- 上传者