結果
問題 | No.8032 Unavailability of Inequality Signs |
ユーザー |
![]() |
提出日時 | 2018-04-01 22:20:44 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 340 bytes |
コンパイル時間 | 515 ms |
コンパイル使用メモリ | 28,032 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-26 05:51:34 |
合計ジャッジ時間 | 1,002 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 7 |
ソースコード
#include "stdio.h" int main(){ int n; scanf("%d",&n); int i; for(i=0;i/n==0;i++){ int a,b; scanf("%d %d",&a,&b); if(a/b==0){ printf("%c\n",';'+1); }else if(b/a==0){ printf("%c\n",';'+3); }else{ printf("%c\n",';'+2); } } return 0; }