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_39513735_5841.cpp:10:1: error: stray '\223' in program
   10 | <93><c1>?
      | ^~~~
0_0_39513735_5841.cpp:10:2: error: stray '\301' in program
   10 | <93><c1>?
      |     ^~~~
0_0_39513735_5841.cpp:10:3: error: expected unqualified-id before '?' token
   10 | “Á?
      |   ^
0_0_39513735_5841.cpp: In function 'void Sol(long long int)':
0_0_39513735_5841.cpp:122:45: error: 'a' was not declared in this scope
  122 |     for(int i = 1; i <= n; i++) Gcd[i][0] = a[i];
      |                                             ^
0_0_39513735_5841.cpp: In function 'void Get_ans(long long int)':
0_0_39513735_5841.cpp:201:17: error: 'ans' was not declared in this scope; did you mean 'abs'?
  201 |                 ans[L] = (ans[L] + res) % mod;
      |                 ^~~
      |                 abs
0_0_39513735_5841.cpp:209:17: error: 'ans' was not declared in this scope; did you mean 'abs'?
  209 |                 ans[L] = (ans[L] + res) % mod;
      |                 ^~~
      |                 abs
0_0_39513735_5841.cpp: In function 'int main()':
0_0_39513735_5841.cpp:225:40: error: 'a' was not declared in this scope
  225 |     for(int i = 1; i <= n; i++) cin >> a[i];
      |                                        ^
0_0_39513735_5841.cpp:228:17: error: 'a' was not declared in this scope
  228 |         reverse(a + 1, a + n + 1);
      |                 ^
0_0_39513735_5841.cpp:232:33: error: 'ans' was not declared in this scope; did you mean 'abs'?
  232 |     for(int i = 1; i <= n; i++) ans[i] = (ans[i - 1] + ans[i]) % mod;
      |                                 ^~~
      |                                 abs
0_0_39513735_5841.cpp:237:24: error: 'ans' was not declared in this scope; did you mean 'abs'?
  237 |         cout << (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:51:39, Gzip enabled