aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTa180m2019-07-17 14:35:16 -0400
committerGitHub2019-07-17 14:35:16 -0400
commitea1cdbe03713b8ab658c2273ebeb47b07c36487e (patch)
treea43e9b5c9fd13a415decf0563984a7e3acc19f99
parent504851d486ba7655858936fbf6ed1ca0fffd8734 (diff)
Update guard.cpp
-rw-r--r--2014/December/Gold/guard.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/2014/December/Gold/guard.cpp b/2014/December/Gold/guard.cpp
index 1787a44..351783a 100644
--- a/2014/December/Gold/guard.cpp
+++ b/2014/December/Gold/guard.cpp
@@ -7,8 +7,7 @@ int h[1 << 20], DP[1 << 20] = { (int)1e9 };
struct cow { int h, w, s; } C[20];
int main() {
- int N, H;
- cin >> N >> H;
+ int N, H; cin >> N >> H;
for (int i = 0; i < N; i++) cin >> C[i].h >> C[i].w >> C[i].s;
for (int i = 0; i < (1 << N); i++) {