/ Vijos /

记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:148:19: error: 'INT_MAX' was not declared in this scope
         int ans = INT_MAX;
                   ^~~~~~~
foo.cc:148:19: note: suggested alternative: 'TMP_MAX'
         int ans = INT_MAX;
                   ^~~~~~~
                   TMP_MAX
foo.cc:144:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d%d", &n, &m);
     ~~~~~^~~~~~~~~~~~~~~~
foo.cc:145:39: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     for (int i = 1; i <= n; i++) scanf("%s", map[i] + 1);
                                  ~~~~~^~~~~~~~~~~~~~~~~~

信息

递交者
类型
递交
题目
P1263 单挑女飞贼
语言
C++
递交时间
2020-12-06 18:25:36
评测时间
2020-12-06 18:25:36
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes