結果
問題 | No.8032 Unavailability of Inequality Signs |
ユーザー |
|
提出日時 | 2018-11-25 20:34:18 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 334 bytes |
コンパイル時間 | 478 ms |
コンパイル使用メモリ | 64,492 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-12-25 11:39:44 |
合計ジャッジ時間 | 2,284 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | WA * 7 |
ソースコード
#include <iostream> #include <string.h> using namespace std; int main(int argc, char* argv[]) { int N,i; cin>>N; int A,B; for (i=0;i<N;i++){ cin>>A>>B; if (A==B){ cout<<"="<<endl; }else{ char x[10]; sprintf(x,"%d",A-B); if (x[0]=='-'){ cout<<"<"<<endl; }else{ cout<<">"<<endl; } } } return 0; }