結果

問題 No.744 循環小数N桁目 Easy
ユーザー Heropro7
提出日時 2018-10-22 22:46:16
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 239 bytes
コンパイル時間 413 ms
コンパイル使用メモリ 54,540 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-11-19 03:56:24
合計ジャッジ時間 934 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other AC * 2 WA * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>

using namespace std;

int main(){
	int x; cin >> x; x=x%6;

	switch(x){
	case 0:cout << "4\n";case 1:cout << "2\n";case 2:cout << "8\n";
	case 3:cout << "5\n";case 4:cout << "7\n";case 5:cout << "1\n";
	}
	return 0;
}
0