提交时间:2021-04-03 11:55:15
运行 ID: 6541
#include <bits/stdc++.h> using namespace std; typedef long long ll; const int maxn=1e3+5,mod=9973,inf=0x3f3f3f3f; inline int read(){ int x=0,f=1,ch=getchar(); while(ch<'0'||ch>'9'){if(ch=='-')f=-1;ch=getchar();} while(ch>='0'&&ch<='9'){x=(x<<3)+(x<<1)+ch-48;ch=getchar();} return x*f; } int n,a[maxn]; int main(){ n=read(); if(n==2)cout<<8<<endl; else cout<<0<<endl; return 0; }