結果

問題 No.1643 Not Substring
ユーザー chineristACchineristAC
提出日時 2021-08-13 21:22:25
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 57 ms / 2,000 ms
コード長 1,029 bytes
コンパイル時間 267 ms
コンパイル使用メモリ 82,440 KB
実行使用メモリ 67,820 KB
最終ジャッジ日時 2024-04-14 19:16:53
合計ジャッジ時間 2,945 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 56 ms
66,032 KB
testcase_01 AC 55 ms
66,276 KB
testcase_02 AC 56 ms
67,048 KB
testcase_03 AC 57 ms
67,820 KB
testcase_04 AC 56 ms
67,776 KB
testcase_05 AC 56 ms
66,984 KB
testcase_06 AC 56 ms
67,068 KB
testcase_07 AC 55 ms
66,460 KB
testcase_08 AC 56 ms
66,920 KB
testcase_09 AC 55 ms
66,788 KB
testcase_10 AC 56 ms
67,764 KB
testcase_11 AC 56 ms
66,316 KB
testcase_12 AC 55 ms
66,312 KB
testcase_13 AC 56 ms
67,316 KB
testcase_14 AC 56 ms
66,504 KB
testcase_15 AC 56 ms
66,548 KB
testcase_16 AC 56 ms
66,616 KB
testcase_17 AC 55 ms
67,268 KB
testcase_18 AC 57 ms
67,232 KB
testcase_19 AC 56 ms
66,628 KB
testcase_20 AC 56 ms
67,112 KB
testcase_21 AC 55 ms
66,860 KB
testcase_22 AC 54 ms
67,208 KB
testcase_23 AC 54 ms
66,024 KB
testcase_24 AC 55 ms
66,608 KB
testcase_25 AC 55 ms
66,796 KB
testcase_26 AC 55 ms
66,040 KB
testcase_27 AC 55 ms
66,740 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

spf = [i for i in range(10**5)]
for i in range(2,10**5):
    if spf[i]!=i:
        continue
    for j in range(2*i,10**5,i):
        spf[j] = i

def factorization(n):
    res = []
    for i in range(2,n+1):
        if i**2 > n:
            break
        if n%i==0:
            assert spf[i]==i
            cnt = 0
            while n%i==0:
                cnt += 1
                n //= i
            res.append((i,cnt))
    if n!=1:
        res.append((n,1))
    return res

def divisors(n):
    res = []
    for i in range(2,n+1):
        if i**2 >= n:
            break
        if n%i==0:
            res.append(i)
            res.append(n//i)
    if i**2==n:
        res.append(i)
    return res

import sys,random,bisect
from collections import deque,defaultdict
from heapq import heapify,heappop,heappush
from itertools import permutations
from math import gcd,log

input = lambda :sys.stdin.readline().rstrip()
mi = lambda :map(int,input().split())
li = lambda :list(mi())

s = input()
t = s.count("a")
print("a" * (t+1))
0