/ MYOJ /

记录详情

Compile Error

/in/foo.cc: In function 'int ten(int)':
/in/foo.cc:14:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/in/foo.cc: In function 'int hundred(int)':
/in/foo.cc:25:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/in/foo.cc: In function 'int thousand(int)':
/in/foo.cc:37:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/in/foo.cc: In function 'int million(int)':
/in/foo.cc:49:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:125:19: error: expected ';' before 'cout'
    else{million(p)cout<<" "<<"and"<<" ";hundred(k);return 0;}
                   ^~~~

信息

递交者
类型
递交
题目
P1000 A+B问题
语言
C++
递交时间
2020-08-23 18:47:38
评测时间
2020-08-23 18:47:38
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes