/ Vijos /

记录详情

Compile Error

foo.cpp: In function 'void gjdprint(LL*)':
foo.cpp:36:26: warning: unknown conversion type character 'l' in format [-Wformat=]
     printf("%lld",a[a[0]]);
                          ^
foo.cpp:36:26: warning: too many arguments for format [-Wformat-extra-args]
foo.cpp:38:29: warning: unknown conversion type character 'l' in format [-Wformat=]
         printf("%07lld",a[i]);
                             ^
foo.cpp:38:29: warning: too many arguments for format [-Wformat-extra-args]
foo.cpp: In function 'void work()':
foo.cpp:137:9: warning: unused variable 'i' [-Wunused-variable]
     int i,j,l,r,mid;
         ^
foo.cpp: In function 'int main()':
foo.cpp:172:9: warning: unused variable 'i' [-Wunused-variable]
     int i,j;
         ^
foo.cpp:172:11: warning: unused variable 'j' [-Wunused-variable]
     int i,j;
           ^
foo.cpp: At global scope:
foo.cpp:220:1: error: expected unqualified-id before '?' token
 ?????
 ^

信息

递交者
类型
递交
题目
P1472 教主的集合序列
语言
C++
递交时间
2016-11-16 14:34:22
评测时间
2016-11-16 14:34:24
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes