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_38799763_5435.cpp:1:8: error: 'LL' was not declared in this scope
    1 | vector<LL> solve(int l, int r) {
      |        ^~
0_0_38799763_5435.cpp:1:8: error: 'LL' was not declared in this scope
0_0_38799763_5435.cpp:1:8: error: 'LL' was not declared in this scope
0_0_38799763_5435.cpp:1:8: error: 'LL' was not declared in this scope
0_0_38799763_5435.cpp:1:8: error: 'LL' was not declared in this scope
0_0_38799763_5435.cpp:1:8: error: 'LL' was not declared in this scope
0_0_38799763_5435.cpp:1:8: error: 'LL' was not declared in this scope
0_0_38799763_5435.cpp:1:8: error: 'LL' was not declared in this scope
0_0_38799763_5435.cpp:1:8: error: 'LL' was not declared in this scope
0_0_38799763_5435.cpp:1:1: error: 'vector' does not name a type
    1 | vector<LL> solve(int l, int r) {
      | ^~~~~~
0_0_38799763_5435.cpp: In function 'void konbi()':
0_0_38799763_5435.cpp:12:18: error: 'cin' was not declared in this scope
   12 |     int n, m, k; cin >> n >> m >> k;
      |                  ^~~
0_0_38799763_5435.cpp:13:5: error: 'qn' was not declared in this scope; did you mean 'n'?
   13 |     qn = qpow(n);
      |     ^~
      |     n
0_0_38799763_5435.cpp:13:10: error: 'qpow' was not declared in this scope
   13 |     qn = qpow(n);
      |          ^~~~
0_0_38799763_5435.cpp:14:34: error: 'a' was not declared in this scope
   14 |     for (int i = 1; i <= m; i++) a[i] = 0;
      |                                  ^
0_0_38799763_5435.cpp:17:9: error: 'a' was not declared in this scope
   17 |         a[x]++;
      |         ^
0_0_38799763_5435.cpp:19:12: error: 'LL' was not declared in this scope
   19 |     vector<LL> f = solve(1, m);
      |            ^~
0_0_38799763_5435.cpp:19:5: error: 'vector' was not declared in this scope
   19 |     vector<LL> f = solve(1, m);
      |     ^~~~~~
0_0_38799763_5435.cpp:19:16: error: 'f' was not declared in this scope
   19 |     vector<LL> f = solve(1, m);
      |                ^
0_0_38799763_5435.cpp:19:20: error: 'solve' was not declared in this scope
   19 |     vector<LL> f = solve(1, m);
      |                    ^~~~~
0_0_38799763_5435.cpp:20:7: error: expected ';' before 'fack'
   20 |     LL fack = 1, res = 0;
      |       ^~~~~
      |       ;
0_0_38799763_5435.cpp:22:9: error: 'res' was not declared in this scope
   22 |         res = (res + fack * qpow(i * qn % MOD, k - n + i) % MOD * f[i]) % MOD;
      |         ^~~
0_0_38799763_5435.cpp:22:22: error: 'fack' was not declared in this scope
   22 |         res = (res + fack * qpow(i * qn % MOD, k - n + i) % MOD * f[i]) % MOD;
      |                      ^~~~
0_0_38799763_5435.cpp:22:43: error: 'MOD' was not declared in this scope
   22 |         res = (res + fack * qpow(i * qn % MOD, k - n + i) % MOD * f[i]) % MOD;
      |                                           ^~~
0_0_38799763_5435.cpp:25:5: error: 'cout' was not declared in this scope
   25 |     cout << res << "\n";
      |     ^~~~
0_0_38799763_5435.cpp:25:13: error: 'res' was not declared in this scope
   25 |     cout << res << "\n";
      |             ^~~
0_0_38799763_5435.cpp: In function 'int main()':
0_0_38799763_5435.cpp:28:5: error: 'ios' has not been declared
   28 |     ios::sync_with_stdio(0);
      |     ^~~
0_0_38799763_5435.cpp:29:5: error: 'cin' was not declared in this scope
   29 |     cin.tie(0);
      |     ^~~


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-25 22:31:14, Gzip enabled