結果

問題 No.3027 114514
ユーザー furafura
提出日時 2020-05-09 04:48:41
言語 C++17
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 290 bytes
コンパイル時間 3,733 ms
コンパイル使用メモリ 196,720 KB
実行使用メモリ 4,384 KB
最終ジャッジ日時 2023-09-17 21:55:30
合計ジャッジ時間 4,414 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,376 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 2 ms
4,376 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

#define rep(i,n) for(int i=0;i<(n);i++)

using namespace std;

int main(){
	int n; scanf("%d",&n);
	int ans;
	switch(n){
		case 1: ans=7; break;
		case 9: ans=0; break;
		case 5: ans=5; break;
		default: ans=-175797358; break;
	}
	printf("%d\n",ans);
	return 0;
}
0