Run Code  | Code Wall  | Users  | Misc  | Feedback  | About  | Login  | Theme  | Privacy 

Calculating longs v0.5 finish b next lab

Language: Layout:
+ ] Compiler args - ] Show input
Compilation time: 0.13 sec, absolute service time: 0,23 sec 
edit mode |  history  | discussion
Error(s):
source_file.c: In function ‘main’:
source_file.c:15:8: warning: too many arguments for format [-Wformat-extra-args]
  scanf("lld",&L);
        ^
source_file.c:15:2: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
  scanf("lld",&L);
  ^
source_file.c:16:2: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&S);
  ^
/tmp/cc7Aq8IP.o: In function `main':
source.c:(.text.startup+0x183): undefined reference to `sqrt'
source.c:(.text.startup+0x196): undefined reference to `sqrt'
collect2: error: ld returned 1 exit status