摘要:
Altough Skipping the class is happy, the new term still can drive luras anxious which is of course because of the tests! Luras became worried as she w 阅读全文
摘要:
A题 这题贼水,直接暴力就可以了。 用个bool数组记录一下,如果某一天,当前剩下的最大的出现了的话,就输出一段。 1 #include<stdio.h> 2 int n; 3 bool vis[100010]; 4 int main() 5 { 6 scanf("%d",&n); 7 int x; 阅读全文
摘要:
A题:Morning_X和数独 题目大意就是 给你一个数独,让你填数: 1.每行的九个数字互不相同; 2.每列的九个数字各不相同; 3.被分成的3*3的小矩阵中的九个数字互不相同; 输出完成后的数表,若不能满足上述条件,则输出原图。 其实就是一个DFS,不断的DFS,失败了就回溯。 分别用三个数组来 阅读全文
摘要:
T^T找数字 TimeLimit:1000MS MemoryLimit:256MB TimeLimit:1000MS MemoryLimit:256MB 64-bit integer IO format:%I64d 64-bit integer IO format:%I64d Problem Des 阅读全文
摘要:
Sliding Window TimeLimit:12000MS MemoryLimit:65536K TimeLimit:12000MS MemoryLimit:65536K 64-bit integer IO format:%lld 64-bit integer IO format:%lld P 阅读全文
摘要:
兵队列训练问题 TimeLimit:1000MS MemoryLimit:32768KB TimeLimit:1000MS MemoryLimit:32768KB 64-bit integer IO format:%I64d 64-bit integer IO format:%I64d Proble 阅读全文
摘要:
Favorite Donut TimeLimit: 1500/1000 MS (Java/Others) MemoryLimit: 131072/131072 K (Java/Others) TimeLimit: 1500/1000 MS (Java/Others) MemoryLimit: 131 阅读全文
摘要:
Line belt TimeLimit:1000MS MemoryLimit:32768KB TimeLimit:1000MS MemoryLimit:32768KB 64-bit integer IO format:%I64d 64-bit integer IO format:%I64d Prob 阅读全文
摘要:
第八集,体能训练 TimeLimit:1000MS MemoryLimit:128MB TimeLimit:1000MS MemoryLimit:128MB 64-bit integer IO format:%I64d 64-bit integer IO format:%I64d Problem D 阅读全文
摘要:
Subsequence TimeLimit:1000MS MemoryLimit:65536K TimeLimit:1000MS MemoryLimit:65536K 64-bit integer IO format:%lld 64-bit integer IO format:%lld Proble 阅读全文