Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
158403 孔声豪 求解函数 C++ Compile Error 0 MS 0 KB 157 2026-08-21 14:31:49

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; double f(double x,double n){ if(n==1) return x/(1+x); else return x } int main(){ return 0; }


Run Info:

Main.cc: In function 'double f(double, double)':
Main.cc:6:1: error: expected ';' before '}' token
 }
 ^