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_33680858_31302.cpp:3:7: error: 'll' does not name a type
 const ll   p = 998244353;
       ^
0_0_33680858_31302.cpp:4:7: error: 'll' does not name a type
 const ll  N = 5e6 + 5;
       ^
0_0_33680858_31302.cpp:5:1: error: 'll' does not name a type
 ll t, n, f[N];
 ^
0_0_33680858_31302.cpp:6:1: error: 'll' does not name a type
 ll QP(ll x, ll n)
 ^
0_0_33680858_31302.cpp: In function 'void Inint()':
0_0_33680858_31302.cpp:18:5: error: 'f' was not declared in this scope
     f[1] = 1;
     ^
0_0_33680858_31302.cpp:19:9: error: 'll' was not declared in this scope
     for(ll i = 2; i < N; i ++) f[i] = f[i-1]*i%p;
         ^
0_0_33680858_31302.cpp:19:19: error: 'i' was not declared in this scope
     for(ll i = 2; i < N; i ++) f[i] = f[i-1]*i%p;
                   ^
0_0_33680858_31302.cpp:19:23: error: 'N' was not declared in this scope
     for(ll i = 2; i < N; i ++) f[i] = f[i-1]*i%p;
                       ^
0_0_33680858_31302.cpp:19:48: error: 'p' was not declared in this scope
     for(ll i = 2; i < N; i ++) f[i] = f[i-1]*i%p;
                                                ^
0_0_33680858_31302.cpp: At global scope:
0_0_33680858_31302.cpp:21:11: error: '::main' must return 'int'
 void main(){
           ^
0_0_33680858_31302.cpp: In function 'int main()':
0_0_33680858_31302.cpp:23:12: error: 't' was not declared in this scope
     cin >> t;
            ^
0_0_33680858_31302.cpp:25:16: error: 'n' was not declared in this scope
         cin >> n;
                ^
0_0_33680858_31302.cpp:30:13: error: 'll' was not declared in this scope
         for(ll i = 0; i < n/2; i ++) cout << 0 << " ";//前n/2个是不可能留下的 
             ^
0_0_33680858_31302.cpp:30:23: error: 'i' was not declared in this scope
         for(ll i = 0; i < n/2; i ++) cout << 0 << " ";//前n/2个是不可能留下的 
                       ^
0_0_33680858_31302.cpp:31:9: error: 'll' was not declared in this scope
         ll m = f[n/2], d = QP(2, n/2) * f[n/2]%p; 
         ^
0_0_33680858_31302.cpp:32:9: error: 'd' was not declared in this scope
         d = QP(d, p-2);
         ^
0_0_33680858_31302.cpp:32:19: error: 'p' was not declared in this scope
         d = QP(d, p-2);
                   ^
0_0_33680858_31302.cpp:32:22: error: 'QP' was not declared in this scope
         d = QP(d, p-2);
                      ^
0_0_33680858_31302.cpp:33:17: error: 'm' was not declared in this scope
         cout << m*d%p << " ";//中间 
                 ^
0_0_33680858_31302.cpp:34:16: error: expected ';' before 'i'
         for(ll i = 1; i < n/2; i ++){//右边 
                ^
0_0_33680858_31302.cpp:34:23: error: 'i' was not declared in this scope
         for(ll i = 1; i < n/2; i ++){//右边 
                       ^


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-22 22:51:30, Gzip enabled