Accepted
/in/foo.cc: In function 'int main()':
/in/foo.cc:7:51: warning: unused variable 's' [-Wunused-variable]
     int i=1,j=1,k,expect,down,max,temp,cha,xl,num,s,price,p;
                                                   ^
/in/foo.cc:64:32: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized]
      if(price==expect){cout<<j*p;return 0;}
                                ^
/in/foo.cc:52:6: warning: 'price' may be used uninitialized in this function [-Wmaybe-uninitialized]
      if(price==expect){cout<<j*p;return 0;}//如果价格就是政府预期价则打印出来,因为本身就是从小到大遍历所以不用求绝对值最小的
      ^~
  信息
- 递交者
 - 类型
 - 递交
 - 题目
 - P1047 「NOIP2000 P」税收与补贴问题
 - 语言
 - C++
 - 递交时间
 - 2020-08-03 07:59:43
 - 评测时间
 - 2020-08-03 07:59:43
 - 评测机
 
- 分数
 - 100
 - 总耗时
 - 8ms
 - 峰值内存
 - 356.0 KiB