結果
| 問題 |
No.138 化石のバージョン
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2015-11-29 22:22:02 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 572 bytes |
| コンパイル時間 | 548 ms |
| コンパイル使用メモリ | 55,144 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-09-14 05:18:57 |
| 合計ジャッジ時間 | 1,521 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 29 WA * 4 |
ソースコード
#include <iostream>
using namespace std;
#define READandIGNORE(a) {cin >> a; cin.ignore();}
#define SAY(s) {cout << s << "\n";}
int main(){
ios::sync_with_stdio(false);
int a0, b0, c0, a1, b1, c1;
READandIGNORE(a0);
READandIGNORE(b0);
READandIGNORE(c0);
READandIGNORE(a1);
READandIGNORE(b1);
READandIGNORE(c1);
if(a0 > a1) {SAY("YES") return 0;}
if(a0 < a1) {SAY("NO") return 0;}
if(b0 > b1) {SAY("YES") return 0;}
if(b0 < b1) {SAY("NO") return 0;}
if(c0 > c1) {SAY("YES") return 0;}
if(c0 <= c1) {SAY("NO") return 0;}
}