一.PTA实验作业 题目1:统计一行文本的单词个数 1. 本题PTA提交列表 2. 设计思路 定义一个长度为1000的字符数组str[1000] 在定义 i=0,cnt=0:cnt用来记录单词的个数 while str[i]='\n'既输入回车时结束字符的输入 str[i]=0;设定结束的标志 for i=0 to str[i]='\0' if str[i]!=' '&&str[i+1]==' ';如果这个字符不为空格,并且下一个字符为空格. cnt++;让cnt+1; if str[i]
做CTF题好长一段时间了,真的可以学到很多东西.这次,我们开启 net-force.nl 的 Steganography之旅,所谓的隐写术. level 801: Training - Can you see me? 点开上面的链接可以查看题目.字的颜色以背景颜色书写,惯用的雕虫小技,Ctrl + A 就能现形,或者查看网页代码,答案显而易见. <span style="color: white"> Look at the file password.gif and you