摘要:
#include<stdio.h>int main(){ int n,m; scanf("%d%d",&n,&m); int s=n?m:0;//当n为真的时候,s=m,否则,s=0; printf("%d\n",s); return 0;} 阅读全文
posted @ 2016-07-30 10:38
认清本质
阅读(457)
评论(0)
推荐(0)
摘要:
#include<stdio.h>#include<algorithm>using namespace std;int main(){ int n,p[10]; scanf("%d",&n); for(int i=0;i<n;i++) scanf("%d",&p[i]); sort(p,p+n);/ 阅读全文
posted @ 2016-07-30 10:21
认清本质
阅读(106)
评论(0)
推荐(0)

浙公网安备 33010602011771号