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


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:45:30, Gzip enabled