/ Vijos /

记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:6:6: error: 'itn' was not declared in this scope; did you mean 'int'?
    6 |  for(itn i = 1; i <= n / 2; i++)
      |      ^~~
      |      int
foo.cc:6:17: error: 'i' was not declared in this scope
    6 |  for(itn i = 1; i <= n / 2; i++)
      |                 ^
foo.cc:5:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    5 |  scanf("%d", &n);
      |  ~~~~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
P1290 sk抓螃蟹
语言
C++
递交时间
2022-07-30 20:56:20
评测时间
2022-07-30 20:56:20
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes