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_32514259_10276.cpp:9:1: error: 'll' does not name a type
 ll a,m,n,k,p;
 ^
0_0_32514259_10276.cpp:14:1: error: 'll' does not name a type
 ll find(ll a,ll x,ll n)
 ^
0_0_32514259_10276.cpp: In function 'int main()':
0_0_32514259_10276.cpp:28:14: error: 'p' was not declared in this scope
  scanf("%d",&p);
              ^
0_0_32514259_10276.cpp:31:30: error: 'a' was not declared in this scope
    scanf("%lld%lld%lld%lld",&a,&m,&n,&k);  
                              ^
0_0_32514259_10276.cpp:31:33: error: 'm' was not declared in this scope
    scanf("%lld%lld%lld%lld",&a,&m,&n,&k);  
                                 ^
0_0_32514259_10276.cpp:31:36: error: 'n' was not declared in this scope
    scanf("%lld%lld%lld%lld",&a,&m,&n,&k);  
                                    ^
0_0_32514259_10276.cpp:31:39: error: 'k' was not declared in this scope
    scanf("%lld%lld%lld%lld",&a,&m,&n,&k);  
                                       ^
0_0_32514259_10276.cpp:32:2: error: 'll' was not declared in this scope
  ll t=gcd(m,n); 
  ^
0_0_32514259_10276.cpp:33:26: error: 't' was not declared in this scope
  printf("%lld\n",(find(a,t,k)-1+k)%k); 
                          ^


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 10:07:42, Gzip enabled