F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_39745349_23113.cpp:10:5: error: 'LL' does not name a type
   10 |     LL c;
      |     ^~
0_0_39745349_23113.cpp:13:1: error: 'LL' does not name a type
   13 | LL s[N];
      | ^~
0_0_39745349_23113.cpp:15:22: error: 'LL' has not been declared
   15 | void u(int x, int y, LL z) // ºÏ²¢¼¯ºÏ
      |                      ^~
0_0_39745349_23113.cpp: In function 'void u(int, int, int)':
0_0_39745349_23113.cpp:19:5: error: 's' was not declared in this scope
   19 |     s[x] += z;
      |     ^
0_0_39745349_23113.cpp: In function 'bool cmp(const E&, const E&)':
0_0_39745349_23113.cpp:27:45: error: 'const struct E' has no member named 'c'
   27 | bool cmp(const E &x, const E &y) { return x.c > y.c; }
      |                                             ^
0_0_39745349_23113.cpp:27:51: error: 'const struct E' has no member named 'c'
   27 | bool cmp(const E &x, const E &y) { return x.c > y.c; }
      |                                                   ^
0_0_39745349_23113.cpp: In function 'void slv(int)':
0_0_39745349_23113.cpp:31:12: error: 's' was not declared in this scope
   31 |     memset(s, 0, sizeof(s));
      |            ^
0_0_39745349_23113.cpp:40:9: error: 'LL' was not declared in this scope
   40 |         LL z = e[i].c, t1 = sz[y] * z + s[x], t2 = sz[x] * z + s[y];
      |         ^~
0_0_39745349_23113.cpp:41:13: error: 't1' was not declared in this scope; did you mean 'tm'?
   41 |         if (t1 > t2)
      |             ^~
      |             tm
0_0_39745349_23113.cpp:41:18: error: 't2' was not declared in this scope; did you mean 'tm'?
   41 |         if (t1 > t2)
      |                  ^~
      |                  tm
0_0_39745349_23113.cpp:42:29: error: 'z' was not declared in this scope
   42 |             u(x, y, sz[y] * z);
      |                             ^
0_0_39745349_23113.cpp:44:29: error: 'z' was not declared in this scope
   44 |             u(y, x, sz[x] * z);
      |                             ^
0_0_39745349_23113.cpp: In function 'int main()':
0_0_39745349_23113.cpp:55:45: error: 'struct E' has no member named 'c'
   55 |             cin >> e[i].a >> e[i].b >> e[i].c;
      |                                             ^
0_0_39745349_23113.cpp:59:17: error: 's' was not declared in this scope
   59 |         cout << s[f(1)] << endl;
      |                 ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-23 08:25:32, Gzip enabled