江一归
江一归
全部文章
分类
题解(18)
归档
标签
去牛客网
登录
/
注册
江一归的博客
全部文章
(共18篇)
暴力解
stl用多了好久没手写链表了,写着玩玩 #include <iostream> using namespace std; struct node{ int val; node*next = nullptr; }; int main() { int n = 0...
2021-04-03
1
383
暴力解
#include <iostream> #include <string.h> //#include <map> #include <vector> #include <algorithm> using namespace std; b...
2021-04-02
0
392
手糊的
#include <iostream> using namespace std; int main() { int x; while(cin>>x) { //int直接按4字节算,就不算了 int sum = 0; ...
2021-03-28
1
308
STL
#include <iostream> #include <string.h> #include <vector> #include <algorithm> using namespace std; int main() { int n; ...
2021-03-28
0
302
STL
还是太老实了 #include <iostream> #include <string.h> #include <vector> using namespace std; int main() { string str; while(getli...
2021-03-28
0
330
投机取巧
#include <iostream> #include <string> #include <algorithm> using namespace std; int main() { string str; while(cin>>...
2021-03-28
0
358
STL
#include <iostream> #include <vector> using namespace std; int main() { //众所周知itoa乱杀的,就不用了 int n; while(cin>>n) { ...
2021-03-28
0
314
投机取巧怪
#include <iostream> #include <set> #include <string.h> using namespace std; int main() { string str; while(cin>>str)...
2021-03-28
0
388
手糊的
#include <iostream> #include <set> using namespace std; int main() { int n; while(cin>>n) { set<int>s; ...
2021-03-27
0
303
暴力法
然而map底层是红黑树好像 #include <iostream> #include <map> using namespace std; int main() { int n; while(cin>>n) { map&...
2021-03-27
0
305
首页
上一页
1
2
下一页
末页