| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 129677 | 郝王骏程 | 年龄问题 | C++ | Compile Error | 0 MS | 0 KB | 417 | 2025-09-01 20:24:40 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int asd(int a,int s){ a+=2; if(s>=5){ return a; } s+=1; asd(a); } int main(){ int d=10,f=1; cot<<asd(d,f); return 0; }
Main.cc: In function 'int asd(int, int)':
Main.cc:13:11: error: too few arguments to function 'int asd(int, int)'
asd(a);
^
Main.cc:7:5: note: declared here
int asd(int a,int s){
^
Main.cc: In function 'int main()':
Main.cc:17:5: error: 'cot' was not declared in this scope
cot<