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_21471241_32630.cpp:7:17: error: 'll' does not name a type
 #define __int64 ll
                 ^
0_0_21471241_32630.cpp:9:7: note: in expansion of macro '__int64'
 const __int64 mod=1e9+7;
       ^
0_0_21471241_32630.cpp: In function 'int main()':
0_0_21471241_32630.cpp:12:9: error: 'll' was not declared in this scope
         ll n,k,f=1;
         ^
0_0_21471241_32630.cpp:13:20: error: 'n' was not declared in this scope
         while(cin>>n>>k)
                    ^
0_0_21471241_32630.cpp:13:23: error: 'k' was not declared in this scope
         while(cin>>n>>k)
                       ^
0_0_21471241_32630.cpp:21:28: error: expected ';' before 'x'
                         ll x=k/(n-1);
                            ^
0_0_21471241_32630.cpp:22:28: error: expected ';' before 'y'
                         ll y=k%(n-1);
                            ^
0_0_21471241_32630.cpp:23:29: error: 'y' was not declared in this scope
                         if(!y)
                             ^
0_0_21471241_32630.cpp:25:36: error: 'x' was not declared in this scope
                                 if(x%2)
                                    ^
0_0_21471241_32630.cpp:33:33: error: 'f' was not declared in this scope
                 cout<<"Case #"<<f++<<": "<<num<<endl;
                                 ^


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-10-02 01:50:35, Gzip enabled