2012-02-01ãã1ã¶æéã®è¨äºä¸è¦§
ææã§è§£ããCTFã®åé¡ã®è§£èª¬ã iCTF 2011 Challenge 33 The file contains JPEG image. By removing 0-72ac7 bytes, we can see the image with the answer. bank account 901729374207-162837465036 iCTF 2011 Challenge 30 The file name "reverse2.7z.enâ¦
i) # coding: utf-8 # ã©ã¤ã»ã³ã¹ï¼ãã®ããã°ã©ã ã¯å¥½ãã«ä½¿ã£ã¦ãã ãã import sys # å©ç¨è class user: def __init__(self,id_,t_,s_,g_): self.id,self.t,self.s,self.g = id_,t_,s_,g_ def __repr__(self): return "user(%d,%d,%d,%d)"%(self.id,selfâ¦
é£ãåãé³ã®å·®ï¼åé³ãï¼ã¨ããï¼ã®åï¼ä»ç¹ã®åæ°%2 ãç¹å¾´éã¨ããã # coding: utf-8 # ã©ã¤ã»ã³ã¹ï¼ãã®ããã°ã©ã ã¯ã好ãã«ä½¿ã£ã¦ãã ããã # ç¹å¾´éã®è¨ç® def compute(s): # èé¢ãã¼ã¿å½¢å¼ãã0:A, 1:A#, 2:B, 3:C, 4:C#, 5:D, 6:D#, 7:E, 8:F, #â¦
i) # coding: utf-8 # ã©ã¤ã»ã³ã¹ï¼ãã®ããã°ã©ã ã¯ã好ãã«ä½¿ã£ã¦ãã ããã import sys # åé¡ã®ã©ã³ãã æååãçæ def makerandom(): R = [] r = 16 for i in xrange(3000000): r = (r*1103515245+12345)&0xFFFFFFFF R += [chr(0x61+(26*(r/0x10000))â¦
# coding: utf-8 # ã©ã¤ã»ã³ã¹ï¼ï¼ # ãã®ããã°ã©ã ã®ã©ã¤ã»ã³ã¹ï¼ä»¥åã®é¨åã¯ä¸è¨ã®URLã«è¨è¼ããã¦ããããã°ã©ã ã§ãã # ä¸è¨ã®ãµã¤ãã®ã©ã¤ã»ã³ã¹ï¼CC-BY-SAï¼ã«å¾ã£ã¦ãã ããã # http://en.wikipedia.org/wiki/Lanczos_approximation from cmath iâ¦
# coding: utf-8 # ã©ã¤ã»ã³ã¹ï¼ãã®ããã°ã©ã ã¯ã好ãã«ä½¿ã£ã¦ãã ãã from datetime import * from time import * print "Input a b c n." a,b,c,n = map(int,raw_input().split()) A = date(a,b,c) # çå¹´ææ¥ B = date.today() # ç¾å¨æ¥æ C = date(a+â¦