結果

問題 No.8032 Unavailability of Inequality Signs
ユーザー はむ吉🐹
提出日時 2018-02-04 18:01:43
言語 C
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 376 bytes
コンパイル時間 182 ms
コンパイル使用メモリ 28,032 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-06-30 04:00:26
合計ジャッジ時間 1,744 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>


/* 出力は正しいが不等号を含むコード */
int main() {
    int n;
    scanf("%d\n", &n);
    for (int i = 0; i < n; i++) {
        int a, b;
        scanf("%d %d\n", &a, &b);
        if (a > b) {
            puts(">");
        } else if (a == b) {
            puts("=");
        } else {
            puts("<");
        }
    }
    return 0;
}
0