結果
問題 |
No.3177 output only nand problem
|
ユーザー |
|
提出日時 | 2025-06-13 21:21:29 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 115 ms / 2,000 ms |
コード長 | 632 bytes |
コンパイル時間 | 215 ms |
コンパイル使用メモリ | 82,364 KB |
実行使用メモリ | 86,204 KB |
最終ジャッジ日時 | 2025-06-13 21:21:33 |
合計ジャッジ時間 | 1,032 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 1 |
ソースコード
import collections,sys,math,functools,operator,itertools,bisect,heapq,decimal,string,time,random #sys.setrecursionlimit(10**9) #sys.set_int_max_str_digits(0) #input = sys.stdin.readline #n = int(input()) #a = list(map(int,input().split())) #a = [] #s = input() #n,m = map(int,input().split()) #for i in range(n): # a.append(list(map(int,input().split()))) def nand(x,y): if x == y == 1: return 0 else: return 1 for a in range(2): for b in range(2): for c in range(2): x = nand(nand(a,b),c) y = nand(a,nand(b,c)) if x != y: exit(print(a,b,c))