結果

問題 No.1543 [Cherry 2nd Tune A] これがプログラミングなのね
ユーザー harurun
提出日時 2021-04-17 01:46:16
言語 JavaScript
(node v23.5.0)
結果
AC  
実行時間 66 ms / 2,000 ms
コード長 397 bytes
コンパイル時間 86 ms
コンパイル使用メモリ 5,120 KB
実行使用メモリ 39,296 KB
最終ジャッジ日時 2024-12-14 19:39:24
合計ジャッジ時間 3,717 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 35
権限があれば一括ダウンロードができます

ソースコード

diff #

function main(input){
    var S=input.split("\n")[0].split(" ");
    var a=S[0];
    var b=S[1];
    var c=S[2];
    //console.log(S);
    //console.log(a);
    //console.log(b);
    //console.log(c);
    if((c=="="&&a==b)||(c=="<"&&a<b)||(c==">"&&a>b)){
        console.log("YES");
    }else{
        console.log("NO");
    }
    return;
}

main(require("fs").readFileSync("/dev/stdin", "utf8"));
0