题目
It is said that Vigenere cipher does not achieve the perfect secrecy actually :-)
Tips:
1.The encode pragram is given;
2.Do u no index of coincidence ?
3.The key is last 6 words of the plain text(with "nctf{}" when submitted, also without any interpunction)
encode.cpp code.txt
什么是异或
异或(exclusive or)是二元继续阅读 »
校园网使用PPPoE拨号上网,每次都通过图形化界面通断网络不太方便,希望能一键上网一键下线,于是写了个小脚本。
配置好相关参数后保存为 C:\Windows\System32\surf.bat ,重启命令行即可使用 surf 命令通断网络,常用的话甚至只要 win+r->enter就可以自由迅速地上线下线啦。把下面第二十行的注释去掉可以在联网同时打开ss,有些缺憾的是还没有实现断网时退出ss。
流程控制参考了Batch Guide by Terry Newton 。
```c
REM 校园网使用PPPoE拨号上网,将文件内容存为 C:\Windows\System32\surf.bat ,可以命令行拨号上网
REM 可自行加继续阅读 »
WHU OJ ,已无法访问
1021乒乓球比赛
```c
include
int main()
{
char i,j,k;
for(i='X'; i
include
int time_elapse(int hour, int minute, int second)
{
return hour*3600+minute*60+second;
}
int main()
{
int n;
char t[9],s[9];
int a,b,c,d,e,f;
int s1,s2;
scanf("%d",&n);
for(; n>0; n--)
{
继续阅读 »