Submission #1518288


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(15):
        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 0
Code Size 726 Byte
Status WA
Exec Time 40 ms
Memory 5460 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 100
Status
AC × 1
WA × 1
AC × 5
WA × 6
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 WA 40 ms 5332 KB
02.txt AC 40 ms 5332 KB
03.txt WA 40 ms 5332 KB
04.txt AC 40 ms 5332 KB
05.txt WA 40 ms 5328 KB
06.txt WA 40 ms 5456 KB
07.txt WA 39 ms 5332 KB
08.txt AC 40 ms 5328 KB
09.txt AC 40 ms 5332 KB
s1.txt AC 40 ms 5336 KB
s2.txt WA 39 ms 5460 KB