Submission #1518289
Source Code Expand
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time,copy,functools sys.setrecursionlimit(10**7) inf = 10**20 gosa = 1.0 / 10**10 mod = 10**9 + 7 def LI(): return [int(x) for x in sys.stdin.readline().split()] def LI_(): return [int(x)-1 for x in sys.stdin.readline().split()] def LF(): return [float(x) for x in sys.stdin.readline().split()] def LS(): return sys.stdin.readline().split() def I(): return int(sys.stdin.readline()) def F(): return float(sys.stdin.readline()) def S(): return input() def main(): t = 'CODEFESTIVAL2016' s = S() r = 0 for i in range(16): if t[i] != s[i]: r += 1 return r print(main())
Submission Info
Submission Time | |
---|---|
Task | A - Signboard |
User | iehn |
Language | Python (3.4.3) |
Score | 100 |
Code Size | 726 Byte |
Status | AC |
Exec Time | 41 ms |
Memory | 5456 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 100 / 100 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | s1.txt, s2.txt |
All | 01.txt, 02.txt, 03.txt, 04.txt, 05.txt, 06.txt, 07.txt, 08.txt, 09.txt, s1.txt, s2.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
01.txt | AC | 40 ms | 5456 KB |
02.txt | AC | 40 ms | 5328 KB |
03.txt | AC | 39 ms | 5332 KB |
04.txt | AC | 39 ms | 5328 KB |
05.txt | AC | 41 ms | 5456 KB |
06.txt | AC | 40 ms | 5332 KB |
07.txt | AC | 40 ms | 5328 KB |
08.txt | AC | 40 ms | 5456 KB |
09.txt | AC | 40 ms | 5332 KB |
s1.txt | AC | 40 ms | 5332 KB |
s2.txt | AC | 40 ms | 5332 KB |