ICode9

精准搜索请尝试: 精确搜索
  • 玩CTF学密码学3:栅栏加密算法、不仅仅是Morse(综合题,还有培根密码)2021-06-08 20:07:11

    栅栏加密算法(一般型 & W型) 先看题目: 再看附件: 讲讲普通栅栏加密算法的原理: 明文S = 1 2 3 4 5 6 7 8 9,key = 3 变换: 1 2 3 4 5 6 7 8 9 密文M = 1 4 7 2 5 8 3 6 9 反之,解密过程: 密文M = 1 4 7 2 5 8 3 6 9,key = 3 变换: 1 4 7 2 5 8 3 6 9 明文S = 1 2 3 4 5 6 7 8 9 讲讲W

  • Gym102875H Happy Morse Code(DP)2020-12-14 21:00:07

    Gym102875H Happy Morse Code(DP) Description Little Rabbit and Little Horse recently learned about Morse code and found that just only two symbols of dash and dot can express countless words, for that each letter has a unique dash-dot string correspondence

  • 804. Unique Morse Code Words2020-04-20 16:08:38

    Problem: International Morse Code defines a standard encoding where each letter is mapped to a series of dots and dashes, as follows: "a" maps to ".-", "b" maps to "-...", "c" maps to "-.-.", and

  • XCTF练习题---CRYPTO---不仅仅是Morse2020-03-23 11:04:57

    XCTF练习题---CRYPTO---不仅仅是Morse flag:cyberpeace{attackanddefenceworldisinteresting} 解题步骤: 1、观察题目,下载附件   2、打开附件,一下子就发现其中的摩斯密码,结合题目断定肯定是摩斯密码, 那首先进行一下解密咯,得出如下结果 网站:http://moersima.00cha.net/    3、

  • 2020新春战疫公益赛 misc2020-02-22 11:08:17

    code_in_morse morse decode后得到: RFIE4RYNBINAUAAAAAGUSSCEKIAAAAEUAAAAA7AIAYAAAAEPFOMTWAAABANUSRCBKR4F53M52F3NWOAMIQ37776R5GE6YNAWJPUA4ZBZM6M5ZPRVWIURUHGMBRAMU7T3P57X776PP5DOBIQIXQE2RCZC5EYFWBAESRALQNACALVNE4B2TCABEA4XIZQAVKFXW632O3XS5HZT7R2J747545E4Y7K6HJA7

  • LeetCode 804. Unique Morse Code Words2019-05-18 16:43:34

    804. Unique Morse Code Words(唯一摩尔斯密码词)   题目:      国际摩尔斯密码定义一种标准编码方式,将每个字母对应于一个由一系列点和短线组成的字符串, 比如: "a" 对应 ".-", "b"对应 "-...", "c" 对应 "-.-.", 等等。   为了方便,所有26个英文字母对应摩尔斯密码

  • leetcode 804. 唯一摩尔斯密码词(Unique Morse Code Words)2019-03-29 17:42:07

    目录 题目描述: 示例: 解法: 题目描述: 国际摩尔斯密码定义一种标准编码方式,将每个字母对应于一个由一系列点和短线组成的字符串, 比如: "a" 对应 ".-", "b" 对应 "-...", "c" 对应 "-.-.", 等等。 为了方便,所有26个英文字母对应摩尔斯密码表如下: [".-","-...","-.-.&qu

  • 2019年3月1日 804. Unique Morse Code Words2019-03-01 09:50:35

    依旧不是难题,练手练手,这道题本来准备一次AC的,结果出现了两个笔误+一次读题错误,失败,还需要努力。class Solution(object): def uniqueMorseRepresentations(self, words): """ :type words: List[str] :rtype: int """ latter = [".-

  • Codeforces Round #542 div1 C. Morse Code 字典树+dp2019-02-25 20:51:38

    C. Morse Code 题意:有30中01串:0 1 00 01 10 11 .. .. 1111,但是有四种是无效的,因此剩下的26个串对应26个字母,现在依次加入一个字符,并询问现有的串的所有子串能构造多少个不同的字母序列。 思路:n最大3000,本质不同的串,这一听就想到了字典树,每次在字典树插入新节点的时候dp,加入一个

  • #Leetcode# 804. Unique Morse Code Words2019-02-20 22:40:24

    https://leetcode.com/problems/unique-morse-code-words/   International Morse Code defines a standard encoding where each letter is mapped to a series of dots and dashes, as follows: "a" maps to ".-", "b" maps to "-...&qu

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有