結果

問題 No.969 じゃんけん
ユーザー mmn15277198
提出日時 2020-03-13 21:26:25
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 379 bytes
コンパイル時間 643 ms
コンパイル使用メモリ 72,928 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-22 19:25:03
合計ジャッジ時間 1,106 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
#include<stdio.h>
#include<algorithm>
#include<vector>
#include<string.h>
#include<math.h>
using namespace std;

int syc(long i,long Min,long Max){
	if(Min <= i && i <= Max){
		return 1;
	}else{
		exit(1);
		//return 0;
	}
}

int main(){
	int x;
	cin >> x;
	if(x==0 || x==4 || x==10){
		cout << "Yes" << endl;
	}else{
		cout << "No" << endl;
	}
	
	return 0;
}
0