------------只要够努力,人生最坏的结局不过是大器晚成!!!

上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 53 下一页
该文被密码保护。 阅读全文
posted @ 2018-05-19 21:56 ystraw 阅读(0) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2018-05-19 21:55 ystraw 阅读(0) 评论(0) 推荐(0)
摘要: 链接:https://www.nowcoder.com/acm/contest/110/A来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 262144K,其他语言524288K 64bit IO Format: %lld 时间限制:C/C++ 1秒,其他语言2秒 空间限 阅读全文
posted @ 2018-05-18 20:23 ystraw 阅读(204) 评论(0) 推荐(0)
摘要: /* C时间限制:1 毫秒 | C内存限制:65535 Kb 题目内容: 对于由从1到N(1 #include #include #include using namespace std; set str; int n, r_sum; long long ct = 0; string visit; void dfs(int sum, int start){ if(sum > ... 阅读全文
posted @ 2018-05-18 16:23 ystraw 阅读(230) 评论(0) 推荐(0)
摘要: 链接:https://www.nowcoder.com/acm/contest/121/C来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 131072K,其他语言262144K 64bit IO Format: %lld 时间限制:C/C++ 1秒,其他语言2秒 空间限 阅读全文
posted @ 2018-05-13 21:46 ystraw 阅读(139) 评论(0) 推荐(0)
摘要: 链接:https://www.nowcoder.com/acm/contest/121/C来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 131072K,其他语言262144K 64bit IO Format: %lld 时间限制:C/C++ 1秒,其他语言2秒 空间限 阅读全文
posted @ 2018-05-13 21:46 ystraw 阅读(113) 评论(0) 推荐(0)
摘要: 链接:https://www.nowcoder.com/acm/contest/121/B来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 32768K,其他语言65536K 64bit IO Format: %lld 时间限制:C/C++ 1秒,其他语言2秒 空间限制: 阅读全文
posted @ 2018-05-13 18:42 ystraw 阅读(173) 评论(0) 推荐(0)
摘要: #include using namespace std; class A { public: A(){} A (int a){ this->a = a; } public: int a; int b; }; int main(){ A a = A(1); //创建的对象 A *b = new A(2); //创建的指针 A c = A(); ... 阅读全文
posted @ 2018-05-08 19:54 ystraw 阅读(166) 评论(0) 推荐(0)
摘要: #include using namespace std; int main(){ for(int i = 0; i < 26; i++){ cout << (char)('a' + i); } cout << endl; printf("%.*lf\n", 4, 5.123456); printf("%*.*f\n", 20, 4, 1234.56); //不输出10和4... 阅读全文
posted @ 2018-05-05 20:38 ystraw 阅读(182) 评论(0) 推荐(0)
摘要: C++中有封装的pow()可以直接调用,头文件math,同时对函数进行了重载,支持多种参数格式: double pow (double base , double exponent); float pow (float base , float exponent); long double pow (long double base, long d... 阅读全文
posted @ 2018-05-05 20:28 ystraw 阅读(302) 评论(0) 推荐(0)
上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 53 下一页

不经一番切孤寒,怎得梅花扑鼻香