leetcode 提示cannot find symbol

在本地編譯器中運行沒有問題,但是在leetcode上測試時報錯cannot find symbol 我這裏是因爲使用了Entry,但是leetcode好像沒有引入。所以我們手動引入就好了。 導入類後正常運行。
相關文章
相關標籤/搜索