結果

問題 No.851 テストケース
ユーザー square1001square1001
提出日時 2019-07-26 22:33:54
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 297 bytes
コンパイル時間 115 ms
コンパイル使用メモリ 10,848 KB
実行使用メモリ 7,964 KB
最終ジャッジ日時 2023-09-15 02:27:56
合計ジャッジ時間 1,377 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
7,856 KB
testcase_01 WA -
testcase_02 AC 15 ms
7,848 KB
testcase_03 AC 15 ms
7,800 KB
testcase_04 AC 16 ms
7,784 KB
testcase_05 AC 15 ms
7,840 KB
testcase_06 AC 15 ms
7,792 KB
testcase_07 AC 15 ms
7,796 KB
testcase_08 AC 16 ms
7,816 KB
testcase_09 AC 15 ms
7,792 KB
testcase_10 AC 15 ms
7,848 KB
testcase_11 AC 15 ms
7,824 KB
testcase_12 AC 16 ms
7,964 KB
testcase_13 AC 16 ms
7,824 KB
testcase_14 AC 15 ms
7,712 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 AC 16 ms
7,788 KB
testcase_20 AC 15 ms
7,908 KB
testcase_21 AC 15 ms
7,796 KB
testcase_22 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
t = input().split(' ');
if len(t) == 3:
	print("\"assert\"")
else:
	p = list(map(int, t));
	x = int(p[0])
	y = int(input())
	z = int(input())
	a = [ x, y, z ]
	a.sort();
	if a[0] == a[1]:
		print(a[0] + a[2]);
	elif a[1] == a[2]:
		print(a[1] + a[2]);
	else:
		print(a[0] + a[2]);
0