题目 1262 [NOIP 2012]Vigenère密码
2020-09-07 21:27:30
|
|
题目 1262 [NOIP 2012]Vigenère密码
2020-09-07 21:25:18
|
|
不会吧不会吧真有人这道题都要问别人
题目 1262 [NOIP 2012]Vigenère密码
2020-09-07 21:21:50
|
|
废了。。。水题调半小时
|
|
题目 1262 [NOIP 2012]Vigenère密码
2016-11-16 18:44:52
|
|
自己以前太弱了...一天没过的题这次半个小时水过
ps 刚发完这个评论oj就炸了...这个问题? |
|
('A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z'),
('B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','A'), ('C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','A','B'), ('D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','A','B','C'), ('E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','A','B','C','D'), ('F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','A','B','C','D','E'), ('G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','A','B','C','D','E','F'), ('H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','A','B','C','D','E','F','G'), ('I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','A','B','C','D','E','F','G','H'), ('J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','A','B','C','D','E','F','G','H','I'), ('K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','A','B','C','D','E','F','G','H','I','J'), ('L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','A','B','C','D','E','F','G','H','I','J','K'), ('M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','A','B','C','D','E','F','G','H','I','J','K','L'), ('N','O','P','Q','R','S','T','U','V','W','X','Y','Z','A','B','C','D','E','F','G','H','I','J','K','L','M'), ('O','P','Q','R','S','T','U','V','W','X','Y','Z','A','B','C','D','E','F','G','H','I','J','K','L','M','N'), ('P','Q','R','S','T','U','V','W','X','Y','Z','A','B','C','D','E','F','G','H','I','J','K','L','M','N','O'), ('Q','R','S','T','U','V','W','X','Y','Z','A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P'), ('R','S','T','U','V','W','X','Y','Z','A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q'), ('S','T','U','V','W','X','Y','Z','A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R'), ('T','U','V','W','X','Y','Z','A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S'), ('U','V','W','X','Y','Z','A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T'), ('V','W','X','Y','Z','A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U'), ('W','X','Y','Z','A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V'), ('X','Y','Z','A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W'), ('Y','Z','A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X'), ('Z','A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y'); |
|
题目 1262 [NOIP 2012]Vigenère密码
2016-10-16 19:54:20
|
|
这道题,用密钥算个offset然后把加密后的减去offset,如果比A或a小就加上26。
十分弱智的一道题,打表都不用。 |
|
第六个点 nimahannihuijiachifanaaaaaaaaaaaaaa 什么鬼!!!!wa50刷新一下就变成AC100了!!!!!!!
|
|
这是官方解题方案真是简洁官方
|
|
|
|
直接用'A'和'a'多方便……干嘛要去查AscII码呢= =
|
|
题目 1262 [NOIP 2012]Vigenère密码
2014-10-28 20:23:50
|
|
题目 1262 [NOIP 2012]Vigenère密码
2014-10-28 18:54:46
|
|
表在此
|
|
第29~32行写成
if (c[i] in [0..25]) then c[i]:=(c[i]-k[(i-1) mod p+1]) mod 26 else c[i]:=(c[i]-k[(i-1) mod p+1]-32) mod 26+32; 会搞成乱码,只能加上26或52再给26求模,答案才不会错 |
|
@常可神牛 不用像这样贴代码,这样太影响市容……把“允许查看你提交的代码”选上就行了
题目 1262 [NOIP 2012]Vigenère密码
2013-10-27 21:42:13
|
|
这是我的程序:
其他Oj都能过啊! http://wikioi.com/code/317292/ https://www.vijos.org/records/511240174e4112280f14c390 https://www.tyvj.cn/Record_Show.aspx?id=1068935
题目 1262 [NOIP 2012]Vigenère密码
2013-10-27 16:41:55
|
|
就是那两个函数问题,大家以后不要用啊,会全部超时的
题目 1262 [NOIP 2012]Vigenère密码
2013-10-27 16:36:25
|