/ JoyAc /

记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:44:17: error: 'cun' was not declared in this scope
  printf("%.0lf",cun*1.2+sheng);
                 ^~~
foo.cc:44:25: error: 'sheng' was not declared in this scope
  printf("%.0lf",cun*1.2+sheng);
                         ^~~~~
foo.cc:44:25: note: suggested alternative: 'setenv'
  printf("%.0lf",cun*1.2+sheng);
                         ^~~~~
                         setenv
foo.cc:11:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d",&bugst);
   ~~~~~^~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
P1006 津津的储蓄计划
语言
C++
递交时间
2021-11-23 09:05:10
评测时间
2021-11-23 09:05:10
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes