Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
78551 刘宇轩 桃子问题 C++ Compile Error 0 MS 0 KB 177 2024-06-22 16:32:56

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int a(int x,int z){ x=(x+1)*2; if(z==10)return x; z++; a(x,z); } int main(){ cout<<a(1,0; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:14:13: error: expected ')' before ';' token
  cout<