結果

問題 No.513 宝探し2
ユーザー mastersatoshimastersatoshi
提出日時 2017-06-22 09:56:39
言語 Python2
(2.7.18)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 403 bytes
コンパイル時間 190 ms
コンパイル使用メモリ 6,712 KB
実行使用メモリ 35,848 KB
最終ジャッジ日時 2023-09-24 01:20:58
合計ジャッジ時間 6,613 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 TLE -
testcase_01 -- -
testcase_02 -- -
testcase_03 -- -
testcase_04 -- -
testcase_05 -- -
testcase_06 -- -
testcase_07 -- -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

#import pdb; pdb.set_trace()
import sys
import math

def main():
    
    print "0 0"
    line = sys.stdin.read()
        

    print line + " 0"
    
    line2 = sys.stdin.read()
    
    if line2 == "":
        sys.exit()
    else:
        nline1 = int(line)
        nline2 = int(line2) / 2
        
        print str(nline1 - nline2) + " " + int(nline2)
        
if __name__ == '__main__':
    main()
0