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_39513481_11643.cpp:28:1: error: stray '\223' in program
   28 | <93><c1>?
      | ^~~~
0_0_39513481_11643.cpp:28:2: error: stray '\301' in program
   28 | <93><c1>?
      |     ^~~~
0_0_39513481_11643.cpp:28:3: error: expected unqualified-id before '?' token
   28 | “Á?
      |   ^
0_0_39513481_11643.cpp: In function 'void Sol(long long int)':
0_0_39513481_11643.cpp:140:45: error: 'a' was not declared in this scope
  140 |     for(int i = 1; i <= n; i++) Gcd[i][0] = a[i];
      |                                             ^
0_0_39513481_11643.cpp: In function 'void Get_ans(long long int)':
0_0_39513481_11643.cpp:219:17: error: 'ans' was not declared in this scope; did you mean 'abs'?
  219 |                 ans[L] = (ans[L] + res) % mod;
      |                 ^~~
      |                 abs
0_0_39513481_11643.cpp:227:17: error: 'ans' was not declared in this scope; did you mean 'abs'?
  227 |                 ans[L] = (ans[L] + res) % mod;
      |                 ^~~
      |                 abs
0_0_39513481_11643.cpp: In function 'int main()':
0_0_39513481_11643.cpp:243:33: error: 'a' was not declared in this scope
  243 |     for(int i = 1; i <= n; i++) a[i] = read();
      |                                 ^
0_0_39513481_11643.cpp:246:17: error: 'a' was not declared in this scope
  246 |         reverse(a + 1, a + n + 1);
      |                 ^
0_0_39513481_11643.cpp:250:33: error: 'ans' was not declared in this scope; did you mean 'abs'?
  250 |     for(int i = 1; i <= n; i++) ans[i] = (ans[i - 1] + ans[i]) % mod;
      |                                 ^~~
      |                                 abs
0_0_39513481_11643.cpp:255:22: error: 'ans' was not declared in this scope; did you mean 'abs'?
  255 |         print((Sum - ans[i] + mod) % mod);
      |                      ^~~
      |                      abs


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-13 08:03:24, Gzip enabled