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_33963236_26211.cpp: In function 'int main()':
0_0_33963236_26211.cpp:9:5: error: 'll' was not declared in this scope
     ll n;
     ^
0_0_33963236_26211.cpp:10:12: error: 'n' was not declared in this scope
     cin >> n;
            ^
0_0_33963236_26211.cpp:12:12: error: expected ';' before 'x'
         ll x;
            ^
0_0_33963236_26211.cpp:13:16: error: 'x' was not declared in this scope
         cin >> x;
                ^
0_0_33963236_26211.cpp:4:14: error: expected primary-expression before 'long'
 #define long long ll
              ^
0_0_33963236_26211.cpp:16:18: note: in expansion of macro 'long'
         cout << (long long)pow((double)10, d) << endl;
                  ^
0_0_33963236_26211.cpp:4:14: error: expected ')' before 'long'
 #define long long ll
              ^
0_0_33963236_26211.cpp:16:18: note: in expansion of macro 'long'
         cout << (long long)pow((double)10, d) << 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-09-27 23:15:02, Gzip enabled