結果
問題 |
No.8032 Unavailability of Inequality Signs
|
ユーザー |
![]() |
提出日時 | 2018-04-01 22:40:35 |
言語 | C (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 695 bytes |
コンパイル時間 | 298 ms |
コンパイル使用メモリ | 28,288 KB |
実行使用メモリ | 13,764 KB |
最終ジャッジ日時 | 2024-06-26 05:59:16 |
合計ジャッジ時間 | 7,719 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | WA * 6 TLE * 1 |
ソースコード
#include <stdio.h> //変数デバッグ #define IDEB(variable) printf("%s = %d\n",(#variable),(variable)) //intデバッグ用 #define FDEB(variable) printf("%s = %f\n",(#variable),(variable)) //floatデバッグ用 #define DDEB(variable) printf("%s = %lf\n",(#variable),(variable)) //doublrデバッグ用 int main(){ int n; scanf("%d", &n); int i=0,j=0,a,b; while(i!=n){ scanf("%d %d", &a, &b); while(j!=a&&j!=b){ j++; } if(a==b){ printf("%c\n", 61); }else if(a==j){ printf("%c\n", 60); }else{ printf("%c\n", 62); } j = 0; i++; } return 0; }