/ Vijos /

记录详情

Compile Error

foo.cpp: In function 'int main()':
foo.cpp:6:41: warning: unknown conversion type character 'l' in format [-Wformat=]
     scanf("%lld%lld%lld%lld",&n,&m,&k,&x);
                                         ^
foo.cpp:6:41: warning: unknown conversion type character 'l' in format [-Wformat=]
foo.cpp:6:41: warning: unknown conversion type character 'l' in format [-Wformat=]
foo.cpp:6:41: warning: unknown conversion type character 'l' in format [-Wformat=]
foo.cpp:6:41: warning: too many arguments for format [-Wformat-extra-args]
foo.cpp:12:34: warning: unknown conversion type character 'l' in format [-Wformat=]
     printf("%lld\n",(x+m*ans%n)%n);
                                  ^
foo.cpp:12:34: warning: too many arguments for format [-Wformat-extra-args]
foo.cpp:13:13: error: expected '}' at end of input
     return 0;
             ^

信息

递交者
类型
递交
题目
P1841 转圈游戏
语言
C++
递交时间
2016-12-10 19:47:36
评测时间
2016-12-10 19:47:36
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes