![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Codeforces
skajre
这个作者很懒,什么都没留下…
展开
-
Coderforces Intel Code Challenge Final Round (Div. 1 + Div. 2, Combined)
A#includeusing namespace std;string s[7]={"monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"};int main(){ string s1,s2; cin>>s1>>s2; if(s1==s2) printf("YES\原创 2016-10-09 07:35:49 · 170 阅读 · 0 评论 -
Coderforces 374 (Div2)
A#include#include#include#include#includeusing namespace std;const int maxn=100+10;char s[maxn];int main(){ vector v; int n; scanf("%d",&n); scanf("%s",s); int cnt=0;原创 2016-10-01 07:53:27 · 171 阅读 · 0 评论 -
Coderforces 373(Div.2)
A#include#include#include#includeusing namespace std;int main(){ int n; while(scanf("%d",&n)!=EOF) { int x[100]; for(int i=0;i<n;i++) scanf("%d",&x[i]); if(原创 2016-09-24 09:19:30 · 218 阅读 · 0 评论 -
Coderforce 380 Div2
只能滑水3题。A#includeusing namespace std;int main(){ char s[105]; int n; scanf("%d%s",&n,s); for(int i=0;i<n;i++){ if(s[i]=='o'){ int j; for(j=2;j<n;j原创 2016-11-21 07:45:25 · 182 阅读 · 0 评论 -
Codeforces Round #383 (Div. 2)
A#includeusing namespace std;int main(){ int n; scanf("%d",&n); if(n==0) printf("1\n"); else{ int m=n%4; if(m==1) printf("8\n"); else if(m==2) printf("4\n"); else if(m==3) printf("2\n原创 2016-12-07 22:58:13 · 191 阅读 · 0 评论