Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
133288 李明秦 桃子问题 C++ Compile Error 0 MS 0 KB 192 2025-10-18 14:04:56

Tests(0/0):


Code:

using namespace std; int tao(int n){ if(n==10) return 1; else{ return (tao(n+1)+1)*2; } } int main(){ cout<<tao(1); ; return 0;


Run Info:

Main.cc: In function 'int main()':
Main.cc:9:1: error: 'cout' was not declared in this scope
 cout<