結果

問題 No.1543 [Cherry 2nd Tune A] これがプログラミングなのね
ユーザー arutairu
提出日時 2021-08-16 11:41:12
言語 C
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 422 bytes
コンパイル時間 117 ms
コンパイル使用メモリ 28,672 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-10-09 05:22:33
合計ジャッジ時間 1,303 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 30 WA * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
#include <math.h>

int main(){
	int s,t;
	char c;
	scanf("%d%d %c",&s,&t,&c);
	//printf("%d%d%c\n",s,t,c);
	if(c=='<'){
		if(s<t){
			printf("YES\n");	
		}else{
			printf("NO\n");
		}
	}else if(c=='>'){
		
		if(s>t){
			
			printf("YES\n");
			
		}else{
			
			printf("NO\n");
		}
	}else if(s==t){
		
		if(s==t){
			printf("YES\n");
			
		}else{
			
			printf("NO\n");
			
		}
		
		
		
		
	}
return 0;
}
0