Compile Error
foo.cpp: In function 'int ext_gcd(int, int, int&, int&)': foo.cpp:27:2: error: 'ans' was not declared in this scope ans=ext_gcd(b,a%b,y,x); ^ foo.cpp: In function 'int main()': foo.cpp:33:6: warning: unused variable 'gcd' [-Wunused-variable] int gcd=ext_gcd(a,b,x,y); ^ foo.cpp: In function 'int ext_gcd(int, int, int&, int&)': foo.cpp:30:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1781 同余方程
- 语言
- C++
- 递交时间
- 2015-10-30 19:44:32
- 评测时间
- 2015-10-30 19:44:36
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes