結果
問題 |
No.8032 Unavailability of Inequality Signs
|
ユーザー |
![]() |
提出日時 | 2018-04-01 23:48:26 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 517 bytes |
コンパイル時間 | 677 ms |
コンパイル使用メモリ | 65,332 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-06-26 06:14:39 |
合計ジャッジ時間 | 2,504 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; //int ans[N]; while(i!=N){ scanf("%d",&a); scanf("%d",&b); if(a==b){ //ans[i]= 61; printf("%c\n", 61); } else if(a==std::max(a,b)){ //ans[i]= 62; printf("%c\n", 62); } else { //ans[i]= 60; printf("%c\n", 60); } i++; } // int j=0; // while (j!=N) { // printf("%c\n",ans[j]); // j++; // } return 0; }