摘要:
#include<iostream>using namespace std;int main(void){ int jiecheng[10]; jiecheng[0]=jiecheng[1]=1; for(int i=2;i<10;i++){ jiecheng[i]=jiecheng[i-1]*i; 阅读全文
posted @ 2019-02-17 21:22
slay
阅读(179)
评论(0)
推荐(0)
摘要:
很简单,但是有些特殊情况不清楚比如连续两个楼层一样没考虑结果WA #include<iostream>using namespace std;int main(void){ int n,s,a[102]; while(scanf("%d",&n)!=EOF){ if(n==0) return 0; 阅读全文
posted @ 2019-02-17 20:17
slay
阅读(168)
评论(0)
推荐(0)
摘要:
自己写的编译通过没问题但是oj的时候一直WA,然后别人的感觉差不多一下就AC了?????心理巨大创伤。。。贴一下我俩代码研究一下 。。。 我的: #include<iostream>#include<string.h>using namespace std;int main(void){ int n 阅读全文
posted @ 2019-02-17 15:00
slay
阅读(158)
评论(0)
推荐(0)


浙公网安备 33010602011771号