Compile Error
foo.cpp: In function 'int main()': foo.cpp:39:24: error: invalid initialization of reference of type 'int&' from expression of type 'll {aka long long int}' gcd(a,b,g,sx,sy); ^ foo.cpp:9:6: error: in passing argument 3 of 'void gcd(int, int, int&, int&, int&)' void gcd(int a,int b,int &d,int &x,int &y) ^ foo.cpp:47:30: warning: format '%d' expects argument of type 'int', but argument 2 has type 'll {aka long long int}' [-Wformat=] printf("%d\n",(t+b)%b); ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1009 清帝之惑之康熙
- 语言
- C++
- 递交时间
- 2016-08-30 15:19:36
- 评测时间
- 2016-08-30 15:19:36
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes