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_22227612_14379.cpp: In function 'int main()':
0_0_22227612_14379.cpp:12:5: error: 'BigData' was not declared in this scope
     BigData sum = BigData("0");//output number
     ^
0_0_22227612_14379.cpp:13:13: error: expected ';' before 'add_num'
     BigData add_num = BigData("0");
             ^
0_0_22227612_14379.cpp:14:13: error: expected ';' before 'by_num'
     BigData by_num = BigData("1");
             ^
0_0_22227612_14379.cpp:15:13: error: expected ';' before 'bit_num'
     BigData bit_num = BigData("26");
             ^
0_0_22227612_14379.cpp:18:7: error: 'sum' was not declared in this scope
       sum = BigData(string(in_str));
       ^
0_0_22227612_14379.cpp:21:15: error: expected ';' before 'zero'
       BigData zero = BigData("0");
               ^
0_0_22227612_14379.cpp:22:15: error: expected ';' before 'tsum'
       BigData tsum = BigData(sum);
               ^
0_0_22227612_14379.cpp:23:14: error: 'tsum' was not declared in this scope
       while (tsum >= bit_num)
              ^
0_0_22227612_14379.cpp:23:22: error: 'bit_num' was not declared in this scope
       while (tsum >= bit_num)
                      ^
0_0_22227612_14379.cpp:25:17: error: expected ';' before 'rem_num'
         BigData rem_num = tsum % bit_num;
                 ^
0_0_22227612_14379.cpp:27:12: error: 'rem_num' was not declared in this scope
         if(rem_num == zero) tsum-=BigData("1");
            ^
0_0_22227612_14379.cpp:27:23: error: 'zero' was not declared in this scope
         if(rem_num == zero) tsum-=BigData("1");
                       ^
0_0_22227612_14379.cpp:28:32: error: 'rem_num' was not declared in this scope
         temp_str[temp_len++] = rem_num.to_int() - 1 + 'a';
                                ^
0_0_22227612_14379.cpp:30:10: error: 'tsum' was not declared in this scope
       if(tsum > zero)
          ^
0_0_22227612_14379.cpp:30:17: error: 'zero' was not declared in this scope
       if(tsum > zero)
                 ^
0_0_22227612_14379.cpp:45:7: error: 'add_num' was not declared in this scope
       add_num = BigData(char_rank);
       ^
0_0_22227612_14379.cpp:46:7: error: 'sum' was not declared in this scope
       sum += add_num;
       ^
0_0_22227612_14379.cpp:50:9: error: 'by_num' was not declared in this scope
         by_num *= bit_num;
         ^
0_0_22227612_14379.cpp:50:19: error: 'bit_num' was not declared in this scope
         by_num *= bit_num;
                   ^
0_0_22227612_14379.cpp:58:26: error: 'sum' was not declared in this scope
     string ostr = string(sum.get_data_str());
                          ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-01-10 17:39:43, Gzip enabled