/ TYWZ /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:34:13: error: 'maxt' was not declared in this scope
    modify(t+maxt,1)
             ^~~~
/in/foo.cc:40:14: error: 'maxt' was not declared in this scope
     modify(t+maxt,0);
              ^~~~
/in/foo.cc:56:32: warning: pointer to a function used in arithmetic [-Wpointer-arith]
    printf("Median = %d\n",left-maxn);
                                ^~~~
/in/foo.cc:56:36: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::ios_base& (*)(std::ios_base&)' [-Wformat=]
    printf("Median = %d\n",left-maxn);
                                    ^

信息

递交者
类型
递交
题目
Median of Queue
语言
C++
递交时间
2019-02-01 23:36:06
评测时间
2019-02-01 23:36:06
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes