제출 #10118

#제출 시각아이디문제언어결과실행 시간메모리
10118lavataste제곱근 구하기 1 (gs13068_sqrt1)C11
컴파일 에러
0 ms0 KiB
#include<stdio.h> #include<math.h> int main() { float N; scanf("%f", &N); N=sqrt(N); printf("%f", N); return 0; }

컴파일 시 표준 에러 (stderr) 메시지

sqrt1.c: In function 'main':
sqrt1.c:6:8: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
/tmp/ccA1JVk9.o: In function `main':
sqrt1.c:(.text.startup+0x4e): undefined reference to `sqrtf'
collect2: ld returned 1 exit status