摘要: #include<iostream>using namespace std;int main(){ char a; cin >> a; cout <<char(a+1)<<char(a+2); return 0;} 阅读全文
posted @ 2021-09-23 11:23 Leeeeeeeeeeeeee 阅读(185) 评论(0) 推荐(0)
摘要: #include<iostream>using namespace std;int main(){ char a; cin >> a; cout << int(a); return 0;} 阅读全文
posted @ 2021-09-23 11:21 Leeeeeeeeeeeeee 阅读(871) 评论(0) 推荐(0)
摘要: #include<iostream>using namespace std;int main(){ char a,b; cin >> a >> b; cout << a << endl << b << endl; return 0;} 阅读全文
posted @ 2021-09-23 10:31 Leeeeeeeeeeeeee 阅读(421) 评论(0) 推荐(0)
摘要: #include<iostream>using namespace std;int main(){ double a; cin >> a; cout << int(a) << " " << a - int(a); return 0;} 阅读全文
posted @ 2021-09-23 10:28 Leeeeeeeeeeeeee 阅读(384) 评论(0) 推荐(0)
摘要: #include<iostream> using namespace std; int main(){ float x; cin >> x; cout << x * x; return 0;} 阅读全文
posted @ 2021-09-18 17:32 Leeeeeeeeeeeeee 阅读(225) 评论(0) 推荐(0)
摘要: #include<iostream> using namespace std; int main(){ int x; int y; cin >> x >> y; cout << x + y << " " << x - y << " " << x * y << " " << x / y << " " 阅读全文
posted @ 2021-09-18 17:30 Leeeeeeeeeeeeee 阅读(975) 评论(0) 推荐(0)
摘要: #include<iostream> using namespace std; int main(){ int x; int y; cin >> x >> y; cout << x*2+ y*2<< " " << x*y; return 0;} 阅读全文
posted @ 2021-09-18 17:27 Leeeeeeeeeeeeee 阅读(429) 评论(0) 推荐(0)
摘要: #include<iostream> using namespace std; int main(){ int n; cin>>n; cout << n * 4 << " " << n * n; return 0;} 阅读全文
posted @ 2021-09-18 17:24 Leeeeeeeeeeeeee 阅读(321) 评论(0) 推荐(0)
摘要: #include<iostream> using namespace std; int main(){ int n; int m; cin >> n >> m; cout << n + m; return 0;} 阅读全文
posted @ 2021-09-18 17:20 Leeeeeeeeeeeeee 阅读(219) 评论(0) 推荐(0)
摘要: #include<iostream>using namespace std;int main(){ int x; cin >> x; cout << x*2; return 0;} 阅读全文
posted @ 2021-09-17 16:59 Leeeeeeeeeeeeee 阅读(53) 评论(0) 推荐(0)