记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:11:8: warning: implicit declaration of function 'max'; did you mean 'main'? [-Wimplicit-function-declaration]
  time1=max(n1*t1,n2*t2);
        ^~~
        main
/tmp/ccTgCYr5.o: In function `main':
foo.c:(.text.startup+0x46): undefined reference to `max'
foo.c:(.text.startup+0x75): undefined reference to `max'
collect2: error: ld returned 1 exit status

信息

递交者
类型
递交
题目
偷拍硕哥4
语言
C
递交时间
2018-12-10 23:09:11
评测时间
2018-12-10 23:10:53
评测机
分数
0
总耗时
47ms
峰值内存
5.652 MiB