做了一圈(就那么几道还叫一圈)$SA$的题,小结一下,方便自己看 [NOI2016]优秀的拆分 1 #include<iostream> 2 #include<cstring> 3 #include<cstdio> 4 using namespace std; 5 #define mem(x) me ...
分类:
编程语言 时间:
2017-09-28 21:38:49
阅读次数:
242
咸鱼选手发现自己很久不做cf了,晚节不保。 A.Curriculum Vitae 枚举一下间断点的位置。 B. Math Show 枚举完成了哪些套装,然后剩下的贪心算就好。 老年选手晚节不保,一开始还以为尽量多做整套。 我是傻逼。 C. Four Segments 化简一下式子,然后就可以枚举了。 ...
分类:
其他好文 时间:
2017-09-28 19:55:38
阅读次数:
215
#include using namespace std; int main(){ for(int i=0;i<=128;i++) cout<<i<<" "<<(char)i<<endl; } ...
分类:
其他好文 时间:
2017-09-28 18:07:23
阅读次数:
153
jquery 中的contains()和replace(); var a="124123&231&" if($.contains(a, '&'){ var b=a.replace(/&/g,' ') //replace 中的/&/g,就是全部替换,/g是全局的 } 如果只替换一个,就写成var b= ...
分类:
Web程序 时间:
2017-09-28 18:02:12
阅读次数:
145
1 // 2 // ViewController.m 3 // UIWindowsApp 4 // 7 // 8 9 #import "ViewController.h" 10 #import "ViewController2.h" 11 12 @interface ViewController (... ...
分类:
其他好文 时间:
2017-09-28 14:17:58
阅读次数:
147
Sightseeing Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 9535 Accepted: 3352 Description Tour operator Your Personal Holiday organises g ...
分类:
其他好文 时间:
2017-09-28 12:57:48
阅读次数:
162
1 //test.cpp 2 #include <stdio.h> 3 int g_var = 0; 4 void print_line(char *str) 5 { 6 if (str != NULL) 7 printf("%s\r\n", str); 8 else 9 printf("null ...
分类:
编程语言 时间:
2017-09-28 00:33:36
阅读次数:
686
模板 : #include<string.h> #include<stdio.h> #include<malloc.h> #include<iostream> #include<algorithm> using namespace std; const int maxn = 26; struct T ...
分类:
编程语言 时间:
2017-09-27 23:56:27
阅读次数:
343