ZOJ
japomica
这个作者很懒,什么都没留下…
展开
-
zoj 3323 Somali Pirates
#include#include#include#includeusing namespace std;int main(){ int ncases; char ch; cin>>ncases; getchar(); //一个字符一个字符判断 while(ncases--) { ch=getchar();原创 2013-07-26 16:18:20 · 586 阅读 · 0 评论 -
ZOJ 1002
Don't Get RookedIn chess, the rook is a piece that can move any number of squares vertically or horizontally. In this problem we will consider small chess boards (at most 44) that can also conta原创 2013-08-04 16:54:03 · 520 阅读 · 0 评论 -
ZOJ 1110
Dick and JaneTime Limit: 2 Seconds Memory Limit: 65536 KB Dick is 12 years old. When we say this, we mean that it is at least twelve and not yet thirteen years since Dick was born.D原创 2013-08-14 16:07:49 · 647 阅读 · 0 评论 -
ZOJ1414
Number StepsTime Limit: 2 Seconds Memory Limit: 65536 KB Starting from point (0,0) on a plane, we have written all non-negative integers 0, 1, 2,... as shown in the figure. For example,原创 2013-08-14 18:52:42 · 531 阅读 · 0 评论 -
ZOJ 1970
All in AllInput: standard inputOutput: standard outputTime Limit: 2 secondsMemory Limit: 32 MBYou have devised a new encryption technique which encodes a message by inserting between its cha原创 2013-08-18 18:50:11 · 471 阅读 · 0 评论