记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:11:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int num_1 = 1; num_1 < INITNUM; ++num_1)
                         ~~~~~~^~~~~~~~~
/in/foo.cc:10:9: warning: unused variable 'num_1' [-Wunused-variable]
     int num_1,num_2;
         ^~~~~
/tmp/ccq6UHJN.o: In function `main':
foo.cc:(.text.startup+0x32): undefined reference to `divsum(int)'
foo.cc:(.text.startup+0x3f): undefined reference to `divsum(int)'
collect2: error: ld returned 1 exit status

信息

递交者
类型
递交
题目
P1004 湊和
语言
C++
递交时间
2019-05-12 11:20:07
评测时间
2019-05-12 11:40:10
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes