摘要: hdu 5138 CET-6 test#includeint main(){ int n,f; while(~scanf("%d",&n)) { f=0; if(n-15>0) {if(f!=0) printf(" ");printf("%d",n-15... 阅读全文
posted @ 2014-12-06 22:01 xryz 阅读(115) 评论(0) 推荐(0) 编辑
摘要: hdu 5123 who is the best?#include#includeint main(){ int t,n,a[105],i,j,max,b; while(~scanf("%d",&t)) while(t--) { memset(a,0,s... 阅读全文
posted @ 2014-12-06 18:18 xryz 阅读(118) 评论(0) 推荐(0) 编辑
摘要: hdu5104 Primes Problem#includeint prime(int m){ int i; for(i=2;i*i<=m;i++) { if(m%i==0) return 0; } return 1;}int main(){ in... 阅读全文
posted @ 2014-12-06 12:10 xryz 阅读(117) 评论(0) 推荐(0) 编辑