码迷,mamicode.com
首页 >  
搜索关键字:zju    ( 725个结果
zju 1115 Digital roots 数字根
#include #include using namespace std;int main(){ string n; while(cin>>n,n!="0"){ int s=0,l=n.length(); for(int i=0;i9) s=s/10+s%10; cout...
分类:其他好文   时间:2014-08-02 01:30:32    阅读次数:382
zju 1763
#include #include using namespace std;int main(int argc, char *argv[]){ double a,b; cin>>a; while (cin>>b) { if (b==999) { ...
分类:其他好文   时间:2014-08-02 01:27:12    阅读次数:297
zju 2886
#include #include using namespace std;int main(int argc, char *argv[]){ int i,n,m; string s; while(cin>>m) { while(m--) { cin>>s; n=1; if(s.si...
分类:其他好文   时间:2014-08-01 22:59:32    阅读次数:352
zju 2478
-#include using namespace std;int main(int argc, char *argv[]){ int n,i,sum; string s; cin>>n; while(n--) { cin>>s; for(i=0,sum=1;s[i];i++) { if(...
分类:其他好文   时间:2014-08-01 22:51:42    阅读次数:214
zju 1383 Binary Numbers
#include using namespace std;int a[1000];int f(int n){ int k=0; while(n) { a[k++]=n%2; n/=2; } return k;}int main(int argc, char *argv[]){ int n,m,...
分类:其他好文   时间:2014-08-01 22:45:22    阅读次数:248
zju 2812 Quicksum
QuicksumTime Limit: 2 Seconds Memory Limit: 65536 KBA checksum is an algorithm that scans a packet of data and returns a single number. The idea is...
分类:其他好文   时间:2014-08-01 22:43:32    阅读次数:333
zju 1241 Geometry Made Simple
Geometry Made SimpleTime Limit: 2 Seconds Memory Limit: 65536 KBMathematics can be so easy when you have a computer. Consider the following example. ....
分类:其他好文   时间:2014-08-01 19:27:32    阅读次数:308
zju 1295 Reverse Text
Reverse TextTime Limit: 2 Seconds Memory Limit: 65536 KBIn most languages, text is written from left to right. However, there are other languages whe....
分类:其他好文   时间:2014-08-01 19:23:32    阅读次数:202
zju 2947 试探
#include using namespace std;int main(int argc, char *argv[]){ int i,n,m; char data1[10][20],data2[10][20]; scanf("%d",&n); for (i=0;i...
分类:其他好文   时间:2014-08-01 04:42:41    阅读次数:239
zju 2947
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=2947错误----#include#include#include#includeusing namespace std;int main(){ int t,n,m,i; .....
分类:其他好文   时间:2014-08-01 04:41:41    阅读次数:202
725条   上一页 1 ... 63 64 65 66 67 ... 73 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!