/ Vijos /

记录详情

Compile Error

foo.cc:15:2: error: stray '#' in program
 }#include <bits/stdc++.h>
  ^
foo.cc: In function 'int main()':
foo.cc:6:35: error: 'i' was not declared in this scope
  int n,m,high=1,mark[10010],jump=(i*i*i)%5+1; cin>>n>>m;
                                   ^
foo.cc: At global scope:
foo.cc:15:3: error: 'include' does not name a type
 }#include <bits/stdc++.h>
   ^~~~~~~
foo.cc: In function 'int main()':
foo.cc:18:5: error: redefinition of 'int main()'
 int main()
     ^~~~
foo.cc:4:5: note: 'int main()' previously defined here
 int main()
     ^~~~
foo.cc:20:35: error: 'i' was not declared in this scope
  int n,m,high=1,mark[10010],jump=(i*i*i)%5+1; cin>>n>>m;
                                   ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1078 松鼠吃果子
语言
C++
递交时间
2021-08-30 15:54:40
评测时间
2021-08-30 15:54:40
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes