编号 | 题目 | 状态 | 分数 | 总时间 | 内存 | 代码 / 答案文件 | 提交者 | 提交时间 |
---|---|---|---|---|---|---|---|---|
#4680 | #1022. 相等步数 | Compile Error | 0 | 0 ms | 0 K | C++ 17 / 1.0 K | JimmyHu | 2024-01-17 15:34:21 |
using namespace std;
typedef long long ll;
ll num1, num2, num3, n, ans = 0;
int k, p = 0;
inline
inline ll
int
编译信息
/sandbox/1/a.cpp:9:8: error: ISO C++ forbids declaration of 'dfs' with no type [-fpermissive]
9 | inline dfs(){
| ^~~
/sandbox/1/a.cpp: In function 'int dfs()':
/sandbox/1/a.cpp:11:1: warning: no return statement in function returning non-void [-Wreturn-type]
11 | }
| ^