실행 실패 (제출 코드 컴파일 에러)
Main.java:10: error: incompatible types: cannot infer type arguments for PriorityQueue<> PriorityQueue<Long> q = new PriorityQueue<>((i1, i2) -> { ^ reason: cannot infer type-variable(s) E (argument mismatch; bad return type in lambda expression possible lossy conversion from long to int) where E is a type-variable: E extends Object declared in class PriorityQueue Main.java:21: error: incompatible types: int cannot be converted to Long q.offer(cmd); ^ Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output 2 errors
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.