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_39513474_5021.cpp:31:1: error: stray '\223' in program
   31 | <93><c1>?
      | ^~~~
0_0_39513474_5021.cpp:31:2: error: stray '\301' in program
   31 | <93><c1>?
      |     ^~~~
0_0_39513474_5021.cpp:31:3: error: expected unqualified-id before '?' token
   31 | “Á?
      |   ^
0_0_39513474_5021.cpp: In function 'void Sol(long long int)':
0_0_39513474_5021.cpp:143:45: error: 'a' was not declared in this scope
  143 |     for(int i = 1; i <= n; i++) Gcd[i][0] = a[i];
      |                                             ^
0_0_39513474_5021.cpp: In function 'void Get_ans(long long int)':
0_0_39513474_5021.cpp:222:17: error: 'ans' was not declared in this scope; did you mean 'abs'?
  222 |                 ans[L] = (ans[L] + res) % mod;
      |                 ^~~
      |                 abs
0_0_39513474_5021.cpp:230:17: error: 'ans' was not declared in this scope; did you mean 'abs'?
  230 |                 ans[L] = (ans[L] + res) % mod;
      |                 ^~~
      |                 abs
0_0_39513474_5021.cpp: In function 'int main()':
0_0_39513474_5021.cpp:246:33: error: 'a' was not declared in this scope
  246 |     for(int i = 1; i <= n; i++) a[i] = read();
      |                                 ^
0_0_39513474_5021.cpp:249:17: error: 'a' was not declared in this scope
  249 |         reverse(a + 1, a + n + 1);
      |                 ^
0_0_39513474_5021.cpp:253:33: error: 'ans' was not declared in this scope; did you mean 'abs'?
  253 |     for(int i = 1; i <= n; i++) ans[i] = (ans[i - 1] + ans[i]) % mod;
      |                                 ^~~
      |                                 abs
0_0_39513474_5021.cpp:258:22: error: 'ans' was not declared in this scope; did you mean 'abs'?
  258 |         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-26 04:50:48, Gzip enabled