結果
問題 |
No.8032 Unavailability of Inequality Signs
|
ユーザー |
![]() |
提出日時 | 2018-04-01 23:04:59 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 362 bytes |
コンパイル時間 | 557 ms |
コンパイル使用メモリ | 65,324 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-06-26 06:05:13 |
合計ジャッジ時間 | 2,304 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | WA * 7 |
ソースコード
#include <stdio.h> #include <stdlib.h> #include <iostream> #include <algorithm> int main(int argc, char const* argv[]) { int N; scanf("%d",&N); int a,b; int i=0; while(i!=N){ scanf("%d",&a); scanf("%d",&b); if(a==b){ printf("=\n"); } else if((a==std::max(a,b))){ printf(">\n"); } else { printf("<\n"); } i++; } return 0; }