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_39465542_12292.cpp:1:1: error: 'utility' does not name a type
    1 | utility
      | ^~~~~~~
0_0_39465542_12292.cpp:6:13: error: expected unqualified-id before 'if'
    6 |             if (a[i][0] >= m) t.add(a[i][2], -1);
      |             ^~
0_0_39465542_12292.cpp:7:5: error: expected declaration before '}' token
    7 |     };
      |     ^
0_0_39465542_12292.cpp:8:27: error: 'n' was not declared in this scope
    8 |     long long ans = 1ll * n * (n - 1) * (n - 2) / 6;
      |                           ^
0_0_39465542_12292.cpp:8:32: error: 'n' was not declared in this scope
    8 |     long long ans = 1ll * n * (n - 1) * (n - 2) / 6;
      |                                ^
0_0_39465542_12292.cpp:8:42: error: 'n' was not declared in this scope
    8 |     long long ans = 1ll * n * (n - 1) * (n - 2) / 6;
      |                                          ^
0_0_39465542_12292.cpp:9:5: error: expected unqualified-id before 'for'
    9 |     for (int i = 0; i < n; ++i)
      |     ^~~
0_0_39465542_12292.cpp:9:25: error: 'n' was not declared in this scope
    9 |     for (int i = 0; i < n; ++i)
      |                         ^
0_0_39465542_12292.cpp:9:25: error: 'n' was not declared in this scope
0_0_39465542_12292.cpp:9:25: error: 'n' was not declared in this scope
0_0_39465542_12292.cpp:9:25: error: 'n' was not declared in this scope
0_0_39465542_12292.cpp:9:25: error: 'n' was not declared in this scope
0_0_39465542_12292.cpp:9:25: error: 'n' was not declared in this scope
0_0_39465542_12292.cpp:9:25: error: 'n' was not declared in this scope
0_0_39465542_12292.cpp:9:25: error: 'n' was not declared in this scope
0_0_39465542_12292.cpp:9:25: error: 'n' was not declared in this scope
0_0_39465542_12292.cpp:9:21: error: 'i' does not name a type
    9 |     for (int i = 0; i < n; ++i)
      |                     ^
0_0_39465542_12292.cpp:9:28: error: expected unqualified-id before '++' token
    9 |     for (int i = 0; i < n; ++i)
      |                            ^~
0_0_39465542_12292.cpp:11:1: error: expected declaration before '}' token
   11 | }
      | ^


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-15 09:28:17, Gzip enabled