From 21f370ad2572e7c8eab7ddc1ec3e878f0a0fa163 Mon Sep 17 00:00:00 2001 From: CyC2018 <1029579233@qq.com> Date: Wed, 3 Oct 2018 20:53:50 +0800 Subject: [PATCH] auto commit --- notes/Leetcode 题解.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notes/Leetcode 题解.md b/notes/Leetcode 题解.md index 1b89f548..11ae7b97 100644 --- a/notes/Leetcode 题解.md +++ b/notes/Leetcode 题解.md @@ -1239,7 +1239,7 @@ public int numSquares(int n) { continue; } marked[next] = true; - queue.add(cur - s); + queue.add(next); } } }