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_14230595_26098.cpp:6:1: error: expected initializer before 'int'
 int l , r ;
 ^
0_0_14230595_26098.cpp:7:9: error: 'll' was not declared in this scope
 int dfs(ll l , ll n)
         ^
0_0_14230595_26098.cpp:7:16: error: 'll' was not declared in this scope
 int dfs(ll l , ll n)
                ^
0_0_14230595_26098.cpp:7:20: error: expression list treated as compound expression in initializer [-fpermissive]
 int dfs(ll l , ll n)
                    ^
0_0_14230595_26098.cpp:8:1: error: expected ',' or ';' before '{' token
 {
 ^
0_0_14230595_26098.cpp:16:10: error: 'll' was not declared in this scope
 int dfss(ll rt)
          ^
0_0_14230595_26098.cpp:17:1: error: expected ',' or ';' before '{' token
 {
 ^
0_0_14230595_26098.cpp: In function 'int main()':
0_0_14230595_26098.cpp:25:28: error: 'l' was not declared in this scope
     while(~scanf("%d%d" , &l , &r))
                            ^
0_0_14230595_26098.cpp:25:33: error: 'r' was not declared in this scope
     while(~scanf("%d%d" , &l , &r))
                                 ^
0_0_14230595_26098.cpp:27:9: error: 'll' was not declared in this scope
         ll rt = (ll)(r - l + 1) ;
         ^
0_0_14230595_26098.cpp:28:12: error: expected ';' before 't'
         ll t = dfss(rt) ;
            ^
0_0_14230595_26098.cpp:29:12: error: 't' was not declared in this scope
         if(t == -1)puts("-1") ;
            ^


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-05 01:00:51, Gzip enabled