/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:43:48: warning: format '%u' expects argument of type 'unsigned int*', but argument 2 has type 'ULL* {aka long long unsigned int*}' [-Wformat=]
    scanf("%ulld%ulld%ulld", &x[i], &y[i], &z[i]);
                                                ^
/in/foo.cc:43:48: warning: format '%u' expects argument of type 'unsigned int*', but argument 3 has type 'ULL* {aka long long unsigned int*}' [-Wformat=]
/in/foo.cc:43:48: warning: format '%u' expects argument of type 'unsigned int*', but argument 4 has type 'ULL* {aka long long unsigned int*}' [-Wformat=]
/in/foo.cc:46:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    if (z[i] + r >= h) Union(n + 1, i);
        ~~~~~~~~~^~~~
/in/foo.cc:49:3: error: 'LL' was not declared in this scope
   LL R = 4 * r * r;
   ^~
/in/foo.cc:57:16: error: 'R' was not declared in this scope
     if (dis <= R) Union(i, j);
                ^

信息

递交者
类型
递交
题目
P2031 奶酪
语言
C++
递交时间
2019-08-01 14:33:01
评测时间
2019-08-01 14:33:01
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes