/ Vijos /

记录详情

Compile Error

foo.cc: In function 'void build()':
foo.cc:23:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 scanf("%d%d%d%d",&n,&m,&TIME,&MONEY);
 ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:26:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 scanf("%d%d%d%d",&u,&v,&T,&M);
 ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1399 尾声-怪盗基德的逃离
语言
C++
递交时间
2021-08-10 21:50:59
评测时间
2021-08-10 21:50:59
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes