結果
問題 | No.1432 Not Xor |
ユーザー | ardggy |
提出日時 | 2021-03-19 21:58:31 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 27 ms / 2,000 ms |
コード長 | 564 bytes |
コンパイル時間 | 105 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-11-18 22:14:09 |
合計ジャッジ時間 | 741 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 7 |
ソースコード
import sys def debug(*args, **kwd): import os if os.getenv('DEBUG'): print(*args, **kwd, file=sys.stderr) def input(): return sys.stdin.readline().rstrip() def main(_=0): print(sum(map(int, input().split()))) def as_input(s: str) -> None: import io global input f = io.StringIO(s) input = lambda: f.readline().rstrip() return None sample1 = """3 1 """ sample2 = """4 0 """ def test(): """ >>> main(as_input(sample1)) 4 >>> main(as_input(sample2)) 4 """ pass if __name__ == '__main__': main()