실행 실패 (제출 코드 컴파일 에러)
Main.java:12: error: incompatible types: cannot infer type arguments for PriorityQueue<> PriorityQueue<Node> q = new PriorityQueue<>((n1, n2) -> n1.cost - n2.cost); ^ reason: cannot infer type-variable(s) E (argument mismatch; bad return type in lambda expression possible lossy conversion from double to int) where E is a type-variable: E extends Object declared in class PriorityQueue 1 error
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.