![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
uva-C
smielqf
这个作者很懒,什么都没留下…
展开
-
uva 100 3n+1 problem
今天尝试着注册了uva的帐号来试试刷题。记录一下AC的代码 #include “stdio.h”//检查数字的大小来保证从小到大数数 void check(int* i, int* j){ if(*i > *j){ int temp = *i; *i = *j; *j = temp; } }int arr[1000原创 2017-01-24 20:44:22 · 251 阅读 · 0 评论 -
UVA 10189 Minesweeper
记录一下AC代码#include "stdio.h" #include "string.h" #include "stdlib.h" int solve(char** str,int n, int m, int i, int j){ int l, r, t, b;/*确定左右上底来确定小方阵*/ if(i - 1 < 0){ t = 0; }else{原创 2017-01-25 00:57:19 · 228 阅读 · 0 评论