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_23628466_21945.cpp: In function 'int R()':
0_0_23628466_21945.cpp:3:7: error: 'in' was not declared in this scope
  in(id);
       ^
0_0_23628466_21945.cpp:4:5: error: 'solved' was not declared in this scope
  if(solved[id]==0) return sol_num+1;
     ^
0_0_23628466_21945.cpp:4:27: error: 'sol_num' was not declared in this scope
  if(solved[id]==0) return sol_num+1;
                           ^
0_0_23628466_21945.cpp:5:12: error: 'solved' was not declared in this scope
  res = cal(solved[id], pen[id]-1)+1;
            ^
0_0_23628466_21945.cpp:5:24: error: 'pen' was not declared in this scope
  res = cal(solved[id], pen[id]-1)+1;
                        ^
0_0_23628466_21945.cpp:5:33: error: 'cal' was not declared in this scope
  res = cal(solved[id], pen[id]-1)+1;
                                 ^
0_0_23628466_21945.cpp:6:29: error: 'm' was not declared in this scope
  for(int i=solved[id]+1; i<=m; i++) res+=sum[i];
                             ^
0_0_23628466_21945.cpp:6:42: error: 'sum' was not declared in this scope
  for(int i=solved[id]+1; i<=m; i++) res+=sum[i];
                                          ^


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 06:53:50, Gzip enabled