結果

問題 No.8133 ‮Reversed‪
コンテスト
ユーザー ルク
提出日時 2026-04-01 22:12:56
言語 PyPy3
(7.3.17)
コンパイル:
pypy3 -mpy_compile _filename_
実行:
pypy3 _filename_
結果
WA  
実行時間 -
コード長 806 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 403 ms
コンパイル使用メモリ 85,376 KB
実行使用メモリ 147,328 KB
最終ジャッジ日時 2026-04-01 22:13:03
合計ジャッジ時間 1,507 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 1
other WA * 6
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

from functools import cache
from bisect import bisect_left, bisect_right
import heapq
from itertools import product
from itertools import permutations
import random
import math
import bisect
import sys
from collections import defaultdict
from itertools import combinations
sys.setrecursionlimit(10**7)
inf = 1 << 60


def sgn(x):
    if x > 0:
        return 1
    elif x == 0:
        return 0
    else:
        return -1


def popC(x):
    ans = 0
    while x != 0:
        ans += x % 2
        x //= 2
    return ans


def exit():
    sys.exit()


def LI():
    return list(map(int, input().split()))


def II():
    return int(input())


def SI():
    return input()


n = input()
x = int(n[::-1])
for i in range(x):
    a, b = input().split()
    a = int(a[::-1])
    b = int(b[::-1])
    print(a, b)
0