結果
| 問題 | No.178 美しいWhitespace (1) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-04-03 17:26:31 |
| 言語 | PyPy2 (7.3.20) |
| 結果 |
MLE
|
| 実行時間 | - |
| コード長 | 295 bytes |
| 記録 | |
| コンパイル時間 | 142 ms |
| コンパイル使用メモリ | 77,340 KB |
| 最終ジャッジ日時 | 2025-12-03 20:05:13 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | MLE * 4 |
| other | MLE * 21 |
ソースコード
#coding: utf-8 ##yuki_178 import sys st_max=0 st_min=sys.maxint n=int(raw_input()) for i in xrange(n): a,b=map(int,raw_input().split()) st=a+b*4 if st>st_max: st_max=st if st<st_min: st_min=st #print st_max #print st_min res=st_max-st_min if res%2==1: print -1 else: print res/2