记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:29:14: error: 'INT_MAX' was not declared in this scope
         f[i]=INT_MAX-1; 
              ^~~~~~~
foo.cc:29:14: note: suggested alternative: 'INT8_MAX'
         f[i]=INT_MAX-1; 
              ^~~~~~~
              INT8_MAX
foo.cc:36:14: error: 'INT_MAX' was not declared in this scope
     int minn=INT_MAX-1; 
              ^~~~~~~
foo.cc:36:14: note: suggested alternative: 'INT8_MAX'
     int minn=INT_MAX-1; 
              ^~~~~~~
              INT8_MAX
foo.cc:10:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
          scanf("%d",&qaq),cont+=((qaq%s)==0); 
          ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1001 过河
语言
C++
递交时间
2021-09-10 20:13:19
评测时间
2021-09-10 20:13:19
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes