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_30471747_23308.cpp: In function 'int solve(int, int)':
0_0_30471747_23308.cpp:64:12: error: expected unqualified-id before '=' token
     int ll = k, rr = N + 1, ans = N + 1;
            ^
0_0_30471747_23308.cpp:4:12: error: expected primary-expression before 'long'
 #define ll long long
            ^
0_0_30471747_23308.cpp:65:12: note: in expansion of macro 'll'
     while (ll <= rr) {
            ^
0_0_30471747_23308.cpp:4:12: error: expected ')' before 'long'
 #define ll long long
            ^
0_0_30471747_23308.cpp:65:12: note: in expansion of macro 'll'
     while (ll <= rr) {
            ^
0_0_30471747_23308.cpp:65:15: error: expected unqualified-id before '<=' token
     while (ll <= rr) {
               ^
0_0_30471747_23308.cpp:99:1: error: expected '}' at end of input
 }
 ^


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-16 23:34:42, Gzip enabled