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_39378412_29247.cpp: In function 'int main()':
0_0_39378412_29247.cpp:9:16: error: 'll' was not declared in this scope
    9 |         vector<ll> a(n);
      |                ^~
0_0_39378412_29247.cpp:9:18: error: template argument 1 is invalid
    9 |         vector<ll> a(n);
      |                  ^
0_0_39378412_29247.cpp:9:18: error: template argument 2 is invalid
0_0_39378412_29247.cpp:10:18: error: template argument 2 is invalid
   10 |         vector<ll> b(n);
      |                  ^
0_0_39378412_29247.cpp:13:25: error: invalid types 'int[int]' for array subscript
   13 |                 cin >> a[i] >> b[i];
      |                         ^
0_0_39378412_29247.cpp:13:33: error: invalid types 'int[int]' for array subscript
   13 |                 cin >> a[i] >> b[i];
      |                                 ^
0_0_39378412_29247.cpp:18:33: error: invalid types 'int[int]' for array subscript
   18 |                         res += a[i] * b[(i + 1) % n] - b[i] * a[(i + 1) % n];
      |                                 ^
0_0_39378412_29247.cpp:18:40: error: invalid types 'int[int]' for array subscript
   18 |                         res += a[i] * b[(i + 1) % n] - b[i] * a[(i + 1) % n];
      |                                        ^
0_0_39378412_29247.cpp:18:57: error: invalid types 'int[int]' for array subscript
   18 |                         res += a[i] * b[(i + 1) % n] - b[i] * a[(i + 1) % n];
      |                                                         ^
0_0_39378412_29247.cpp:18:64: error: invalid types 'int[int]' for array subscript
   18 |                         res += a[i] * b[(i + 1) % n] - b[i] * a[(i + 1) % n];
      |                                                                ^


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-07-03 20:35:29, Gzip enabled