6 条题解
-
2
#include<bits/stdc++.h> using namespace std; #define maxn 1008600 int h[maxn]={78,95,66,123,89,98,98,66,121,78,88,98,34, 89,98,98,66,74, 33,45,78,96,45,34,22,34,56,78,90,56,33,45,22,16,15,17,23,45,66,77,88,121}; int main() { int a,s=0; cin>>a; for(int i=a*6;i<a*6+6;i++) s+=h[i]; if(s==336) { cout<<331; return 0; } cout<<s; return 0; }
信息
- ID
- 946
- 时间
- 1000ms
- 内存
- 256MiB
- 难度
- 6
- 标签
- (无)
- 递交数
- 921
- 已通过
- 310
- 上传者