佛奴儿
佛奴儿
全部文章
分类
未归档(985)
归档
标签
去牛客网
登录
/
注册
Roni
ACMer
TA的专栏
0篇文章
0人订阅
职场那些事儿
0篇文章
0人学习
全部文章
(共985篇)
字符串hash-26进制与10进制互相转换
Lovekey http://acm.hdu.edu.cn/showproblem.php?pid=2100 #include <bits/stdc++.h> using namespace std; int change(int n,int a[]) { i...
2018-03-31
0
295
4C 2018 福到了
输入字符c(只含有@和空格)、数字n、规模n*n的二维字符矩阵。 若倒过来的数组和原数组一样形式输出提示。 最后输出以字符c替换的字符数组。 #include <bits/stdc++.h> /* $ 3 @@@ @ @@@ */ using name...
2018-03-31
0
336
第13届景驰-埃森哲杯广东工业大学ACM程序设计大赛【待补】
【链接】:https://www.nowcoder.com/acm/contest/90#question
2018-03-31
0
419
牛客练习赛14
链接:https://www.nowcoder.com/acm/contest/82/D 来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 262144K,其他语言524288K 64bit IO Format: %lld 题...
2018-03-31
0
495
EOJ 3.30 B. 蛇形矩阵【找规律/待补】
【链接】:https://acm.ecnu.edu.cn/contest/59/problem/B/ B. 蛇形矩阵 Time limit per test: 2.0 seconds Memory limit: 256 megabytes 蛇形...
2018-03-31
0
397
EOJ 3.30 A. 打工时不可能打工的【贪心】
【链接】:https://acm.ecnu.edu.cn/contest/59/problem/A/ A. 打工时不可能打工的 Time limit per test: 2.0 seconds Memory limit: 256 megabytes ...
2018-03-30
0
1428
HDU 1223 还是畅通过程【最小生成树模板】
还是畅通工程 Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 53939 Accepted Submission(s): 24482...
2018-03-30
0
370
C++ STL之count函数
谓词(predicate):是做某些检测的函数,返回用于条件判断的类型,指出条件是否成立。 总结: count : 在序列中统计某个值出现的次数 count_if : 在序列中统计与某谓词匹配的次数 count和count_if函数是计数函数,先来看一下...
2018-03-30
0
559
字符串输入
字符串输入 对字符串的输入分三种情况: 1.每个字符串中不含空格、制表符及回车这种情况,用scanf("%s",str)是再好不过的了,比如,测试数据中只有两个字符串:abc def。要读入abc与def,可以这样写: char str1[1000], str2[...
2018-03-30
0
622
C++中substr函数的用法
substr有2种用法: 假设:string s = "0123456789"; string sub1 = s.substr(5); //只有一个数字5表示从下标为5开始一直到结尾:sub1 = "56789" string sub2 = s.subst...
2018-03-30
0
357
首页
上一页
48
49
50
51
52
53
54
55
56
57
下一页
末页