test.cpp:11:13: error: assigning to 'int *' from incompatible type 'void *'
data[i] = malloc(sizeof(int) * 2);
^~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
cpp 말고 c로 제출해보세용
1263번 - 시간 관리
test.cpp:11:13: error: assigning to 'int *' from incompatible type 'void *'
data[i] = malloc(sizeof(int) * 2);
^~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
cpp 말고 c로 제출해보세용
댓글을 작성하려면 로그인해야 합니다.
reinforce22 2년 전
VS나 다른 웹컴파일러에서는 정상적으로 컴파일 후 테스트 케이스까지 잘 맞게 나오는데 백준에서만 컴파일 에러가 뜨네요 ㅠ 뭐가 문제일까요?