diff options
author | Ta180m | 2019-07-17 14:35:16 -0400 |
---|---|---|
committer | GitHub | 2019-07-17 14:35:16 -0400 |
commit | ea1cdbe03713b8ab658c2273ebeb47b07c36487e (patch) | |
tree | a43e9b5c9fd13a415decf0563984a7e3acc19f99 | |
parent | 504851d486ba7655858936fbf6ed1ca0fffd8734 (diff) |
Update guard.cpp
-rw-r--r-- | 2014/December/Gold/guard.cpp | 3 |
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++) { |