結果
問題 |
No.1643 Not Substring
|
ユーザー |
|
提出日時 | 2021-08-25 00:22:44 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 224 bytes |
コンパイル時間 | 287 ms |
コンパイル使用メモリ | 82,128 KB |
実行使用メモリ | 54,216 KB |
最終ジャッジ日時 | 2024-11-15 14:29:58 |
合計ジャッジ時間 | 2,500 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 7 WA * 19 |
ソースコード
#!/usr/bin/env python3 import sys def main(): S = input() ans = 1 for i in S: if i == "a": ans += 1 else: break print("a" * ans) if __name__ == '__main__': main()