
UVa
ShadowFox_
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
UVA815——Flooded!
#include <iostream>#include <algorithm>#include <cstdio>using namespace std;bool cmp(int a,int b){ return a<b;}int main(){ //FILE *fp=fopen("res.txt","w"); i...原创 2018-07-24 12:52:43 · 306 阅读 · 0 评论 -
UVA1590——IP Networks
while True: try: amount=int(input()) if amount<=0: break; s1=s2=s3=s4=0 s11=s22=s33=s44=0#standard sc=[255,255,255,255] for i in rang...原创 2018-07-24 09:43:10 · 328 阅读 · 0 评论 -
UVA253----Cube painting
#include <iostream>#include <stdio.h>#include <string.h>using namespace std;//FILE *fp=fopen("res.txt","w");int main(){ char a[16]; while(cin>>a){ char ...原创 2018-07-23 10:47:04 · 232 阅读 · 0 评论 -
UVA1589----xiangqi
这道题很简单,直接模拟棋盘可以得出,注意一下特殊情况即可; 代码如下,仅视纪念 #include <iostream>#include <stdio.h>#include <string.h>using namespace std; int Gplacex,Gplacey; void printboard(cha...原创 2018-07-21 22:47:00 · 232 阅读 · 0 评论 -
UVA201——Squares
#include <iostream>#include <stdio.h>#include <string.h>using namespace std; int board[19][19]; int main(){ int n; int times=0; while(scanf("%d",&am...原创 2018-07-22 20:56:15 · 317 阅读 · 0 评论