結果

問題 No.3054 ほぼ直角二等辺三角形
ユーザー minamiminami
提出日時 2019-04-01 22:23:52
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 17 ms / 2,000 ms
コード長 3,116 bytes
コンパイル時間 335 ms
コンパイル使用メモリ 11,156 KB
実行使用メモリ 8,340 KB
最終ジャッジ日時 2023-08-18 01:31:31
合計ジャッジ時間 1,690 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
8,248 KB
testcase_01 AC 16 ms
8,084 KB
testcase_02 AC 16 ms
8,336 KB
testcase_03 AC 17 ms
8,132 KB
testcase_04 AC 16 ms
8,212 KB
testcase_05 AC 17 ms
8,240 KB
testcase_06 AC 16 ms
8,060 KB
testcase_07 AC 17 ms
8,128 KB
testcase_08 AC 16 ms
8,280 KB
testcase_09 AC 16 ms
8,120 KB
testcase_10 AC 17 ms
8,176 KB
testcase_11 AC 16 ms
8,152 KB
testcase_12 AC 16 ms
8,340 KB
testcase_13 AC 16 ms
8,116 KB
testcase_14 AC 16 ms
8,272 KB
testcase_15 AC 16 ms
8,140 KB
testcase_16 AC 17 ms
8,104 KB
testcase_17 AC 17 ms
8,204 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

l =[[1, [3, 4, 5]],[2, [20, 21, 29]],[3, [119, 120, 169]],[4, [696, 697, 985]],[5, [4059, 4060, 5741]],[6, [23660, 23661, 33461]],[7, [137903, 137904, 195025]],[8, [803760, 803761, 1136689]],[9, [4684659, 4684660, 6625109]],[10, [27304196, 27304197, 38613965]],[11, [159140519, 159140520, 225058681]],[12, [927538920, 927538921, 1311738121]],[13, [5406093003, 5406093004, 7645370045]],[14, [31509019100, 31509019101, 44560482149]],[15, [183648021599, 183648021600, 259717522849]],[16, [1070379110496, 1070379110497, 1513744654945]],[17, [6238626641379, 6238626641380, 8822750406821]],[18, [36361380737780, 36361380737781, 51422757785981]],[19, [211929657785303, 211929657785304, 299713796309065]],[20, [1235216565974040, 1235216565974041, 1746860020068409]],[21, [7199369738058939, 7199369738058940, 10181446324101389]],[22, [41961001862379596, 41961001862379597, 59341817924539925]],[23, [244566641436218639, 244566641436218640, 345869461223138161]],[24, [1425438846754932240, 1425438846754932241, 2015874949414289041]],[25, [8308066439093374803, 8308066439093374804, 11749380235262596085]],[26, [48422959787805316580, 48422959787805316581, 68480406462161287469]],[27, [282229692287738524679, 282229692287738524680, 399133058537705128729]],[28, [1644955193938625831496, 1644955193938625831497, 2326317944764069484905]],[29, [9587501471344016464299, 9587501471344016464300, 13558774610046711780701]],[30, [55880053634125472954300, 55880053634125472954301, 79026329715516201199301]],[31, [325692820333408821261503, 325692820333408821261504, 460599203683050495415105]],[32, [1898276868366327454614720, 1898276868366327454614721, 2684568892382786771291329]],[33, [11063968389864555906426819, 11063968389864555906426820, 15646814150613670132332869]],[34, [64485533470821007983946196, 64485533470821007983946197, 91196316011299234022705885]],[35, [375849232435061491997250359, 375849232435061491997250360, 531531081917181734003902441]],[36, [2190609861139547943999555960, 2190609861139547943999555961, 3097990175491791170000708761]],[37, [12767809934402226172000085403, 12767809934402226172000085404, 18056409971033565286000350125]],[38, [74416249745273809088000956460, 74416249745273809088000956461, 105240469650709600546001391989]],[39, [433729688537240628356005653359, 433729688537240628356005653360, 613386407933224037990008001809]],[40, [2527961881478169961048032963696, 2527961881478169961048032963697, 3575077977948634627394046618865]],[41, [14734041600331779137932192128819, 14734041600331779137932192128820, 20837081459758583726374271711381]],[42, [85876287720512504866545119809220, 85876287720512504866545119809221, 121447410780602867730851583649421]],[43, [500523684722743250061338526726503, 500523684722743250061338526726504, 707847383223858622658735230185145]],[44, [2917265820615946995501486040549800, 2917265820615946995501486040549801, 4125636888562548868221559797461449]],[45, [17003071238972938722947577716572299, 17003071238972938722947577716572300, 24045973948151434586670623554583549]]]
X = int(input())

for p in l:
    if len(str(p[1][2])) == X:
        print(p[1][0],p[1][1],p[1][2])
        break
0