結果
| 問題 | No.3195 Three-Letter Acronym |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-07-15 17:40:11 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 159 ms / 2,000 ms |
| + 51µs | |
| コード長 | 825 bytes |
| 記録 | |
| コンパイル時間 | 232 ms |
| コンパイル使用メモリ | 95,980 KB |
| 実行使用メモリ | 87,076 KB |
| 最終ジャッジ日時 | 2026-07-13 06:11:05 |
| 合計ジャッジ時間 | 5,441 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 23 |
ソースコード
from collections import Counter, deque, defaultdict
from heapq import heapify, heappop, heappush, nlargest, nsmallest
from bisect import bisect_left, bisect, bisect_right
from copy import deepcopy
from time import perf_counter
import sys
from typing import Any, List, Callable
def debug(*args, sep=" ", end="\n") -> None:
print(*args, sep=sep, end=end, file=sys.stderr)
def gcd(a, b):
a = abs(a); b = abs(b)
if a < b: a, b = b, a
while b > 0:
a, b = b, a % b
return a
def lcm(a, b):
return a * b // gcd(a, b)
def main():
global inf, MOD
input = sys.stdin.read().split()
ptr = 0
inf = float("inf")
MOD = 998244353
a, b, c = input[ptr:ptr + 3]; ptr += 3
acr = a[0].upper() + b[0].upper() + c[0].upper()
print(acr)
if __name__ == "__main__":
main()