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_36552546_30634.cpp:5:14: error: expected initializer before 'long'
 #define long long ll
              ^
0_0_36552546_30634.cpp:7:12: note: in expansion of macro 'long'
 const long long N=998244353;
            ^
0_0_36552546_30634.cpp: In function 'int hua(int, int)':
0_0_36552546_30634.cpp:10:2: error: 'll' was not declared in this scope
  ll r=1%N,t=m;
  ^
0_0_36552546_30634.cpp:14:3: error: 'r' was not declared in this scope
   r=r*t%N;
   ^
0_0_36552546_30634.cpp:14:7: error: 't' was not declared in this scope
   r=r*t%N;
       ^
0_0_36552546_30634.cpp:14:9: error: 'N' was not declared in this scope
   r=r*t%N;
         ^
0_0_36552546_30634.cpp:15:3: error: 't' was not declared in this scope
   t=t*t%N;
   ^
0_0_36552546_30634.cpp:15:9: error: 'N' was not declared in this scope
   t=t*t%N;
         ^
0_0_36552546_30634.cpp:18:9: error: 'r' was not declared in this scope
  return r;
         ^
0_0_36552546_30634.cpp: In function 'int main()':
0_0_36552546_30634.cpp:22:2: error: 'll' was not declared in this scope
  ll a,b,c,g;
  ^
0_0_36552546_30634.cpp:23:16: error: 'g' was not declared in this scope
  scanf("%lld",&g);
                ^
0_0_36552546_30634.cpp:26:25: error: 'a' was not declared in this scope
   scanf("%lld%lld%lld",&a,&b,&c);
                         ^
0_0_36552546_30634.cpp:26:28: error: 'b' was not declared in this scope
   scanf("%lld%lld%lld",&a,&b,&c);
                            ^
0_0_36552546_30634.cpp:26:31: error: 'c' was not declared in this scope
   scanf("%lld%lld%lld",&a,&b,&c);
                               ^
0_0_36552546_30634.cpp:27:6: error: expected ';' before 's1'
   ll s1,s2,ans;
      ^
0_0_36552546_30634.cpp:28:3: error: 'ans' was not declared in this scope
   ans=hua(2,c/2)%N;
   ^
0_0_36552546_30634.cpp:28:18: error: 'N' was not declared in this scope
   ans=hua(2,c/2)%N;
                  ^
0_0_36552546_30634.cpp:31:4: error: 's1' was not declared in this scope
    s1=ans*((a+b+N)%N)%N;
    ^
0_0_36552546_30634.cpp:32:4: error: 's2' was not declared in this scope
    s2=ans*((a-b+N)%N)%N;
    ^
0_0_36552546_30634.cpp:37:4: error: 's1' was not declared in this scope
    s1=ans*(a%N)%N;
    ^
0_0_36552546_30634.cpp:38:4: error: 's2' was not declared in this scope
    s2=ans*(b%N)%N;
    ^


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-07-07 05:51:14, Gzip enabled