Skip to content

Commit

Permalink
后天就考试了怎么办啊学不进去了
Browse files Browse the repository at this point in the history
  • Loading branch information
DallasAutumn committed Sep 3, 2020
1 parent 69a87ae commit 52ac2fc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion A1115.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,5 @@ int main()

return 0;
}
```
```
也可以用深度优先和map组合实现
2 changes: 1 addition & 1 deletion A1132.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# A1132
# A1132 Cut Integer

## 1.题意理解
判断一个整数从中间位数截断后,前半部分能否整除后半部分。
Expand Down
3 changes: 2 additions & 1 deletion A1146.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ int main()
for (int i = 0; i < k; i++)
{
bool judge = true;
vector<int> temp(inDegree, inDegree + N);
vector<int> temp(inDegree, inDegree + N); // 由于是多点查询,需要把入度信息copy过来

for (int j = 0; j < n; j++)
{
Expand All @@ -43,6 +43,7 @@ int main()
for (int it : adj[u])
temp[it]--;
}

if (!judge)
ans.push_back(i);
}
Expand Down

0 comments on commit 52ac2fc

Please sign in to comment.