![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ACM
cn.llonvne
某不知名大学计算机专业学生
个人账号
更新一下自己脑洞和学习记录(不一定要价值)
目前在学 C++ Python Linux
展开
-
UVa - 10474 - Where is the Marble? AC代码分享
#include "bits/stdc++.h" using namespace std; int main(){ int N,Q; int caseCount = 1; int first = 1; while(scanf("%d %d",&N,&Q) && N && Q){ if (first){ printf("CASE# %d:",caseCount++); .原创 2021-08-09 14:51:52 · 104 阅读 · 0 评论 -
UVa - 1588 - KickDown AC代码分享
注意该解题方法并不优秀 有代码过长和代码冗余的缺点,仅作为AC代码参考,可能后期会修改。 #include "bits/stdc++.h" using namespace std; #define INPUT_ERROR (-1) #define INPUT_OVER (1) #define MAX_LENGTH 105 #define MATCH_MAX_SIZE 3 char upLine[MAX_LENGTH]; char downLine[MAX_LENGTH]; int upLine原创 2021-08-05 14:13:38 · 86 阅读 · 0 评论 -
UVA - 232 - Crossword Answers AC代码分享
#include "bits/stdc++.h" using namespace std; #define INPUT_STOP (0) #define INPUT_OVER (1) #define MATRIX_MAX_SIZE (10) #define IS_STARTPOS (1) #define NOT_STARTPOS (0) #define BLACKBLOCK ('*') #define NO_WHITE_IN_UPORLEFT (1) #define WHITE_IN_UPORLEFT .原创 2021-08-04 14:11:08 · 107 阅读 · 0 评论