/ Vijos /

记录详情

Compile Error

foo.cc:18:23: error: stray '\343' in program
   18 |  for (int i=1;i<n;i++) add(1<<i);
      |                       ^
foo.cc:18:24: error: stray '\200' in program
   18 |  for (int i=1;i<n;i++) add(1<<i);
      |                        ^
foo.cc:18:25: error: stray '\200' in program
   18 |  for (int i=1;i<n;i++) add(1<<i);
      |                         ^
foo.cc:19:28: error: stray '\343' in program
   19 |  for (int i=0;i<(1<<n);i++) cout<<ans[i]<<endl;
      |                            ^
foo.cc:19:29: error: stray '\200' in program
   19 |  for (int i=0;i<(1<<n);i++) cout<<ans[i]<<endl;
      |                             ^
foo.cc:19:30: error: stray '\200' in program
   19 |  for (int i=0;i<(1<<n);i++) cout<<ans[i]<<endl;
      |                              ^
foo.cc: In function 'int main()':
foo.cc:15:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   15 |  scanf("%d",&n);
      |  ~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1167 南蛮图腾
语言
C++
递交时间
2022-01-16 12:41:18
评测时间
2022-01-16 12:41:18
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes