04 2021 档案

摘要:刷题真的有用,只要是做过了这个题就稳稳的啊 #include <iostream> using namespace std; typedef long long LL; int last[200]; int main() { string s; cin >> s; int n = s.size(); 阅读全文
posted @ 2021-04-17 21:01 安之若醇 阅读(156) 评论(0) 推荐(0) 编辑
摘要:刚刚做题发现不太会四舍五入,,, floor | 不大于自变量的最大整数|3|3|-2|-3| ceil| 不小于自变量的最大整数|4|4|-1|-2| round| 四舍五入到最邻近的整数|3|4|-1|-3 阅读全文
posted @ 2021-04-11 11:16 安之若醇 阅读(146) 评论(0) 推荐(0) 编辑
摘要:#include<iostream> #include<sstream> //istringstream 必须包含这个头文件 #include<string> using namespace std; int main() { string str="i am a boy"; istringstre 阅读全文
posted @ 2021-04-05 19:31 安之若醇 阅读(390) 评论(0) 推荐(0) 编辑
摘要:有是被自己蠢哭的一天呀 本来想出来了思路,就差实现了,还挺高兴的。。。 结果看了一下dl的代码,,,emmm革命尚未成功,总算知道为什么大佬可以十几分钟写完我能写一个小时的代码(在思路完全一样的情况下) class Solution { public: long long rev(long long 阅读全文
posted @ 2021-04-04 16:25 安之若醇 阅读(61) 评论(0) 推荐(0) 编辑

Live2D服务支持
点击右上角即可分享
微信分享提示