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_38320148_13304.cpp: In function 'int Solve(int)':
0_0_38320148_13304.cpp:25:9: error: 'tmp' was not declared in this scope
         tmp[++_size] = x % 10;
         ^
0_0_38320148_13304.cpp:32:29: error: 'tmp' was not declared in this scope
         for (int j = 0; j < tmp[i]; j++)
                             ^
0_0_38320148_13304.cpp:36:13: error: 'tmp' was not declared in this scope
         if (tmp[i] == 4 || (pre == 6 && tmp[i] == 2)) {
             ^
0_0_38320148_13304.cpp:40:15: error: 'tmp' was not declared in this scope
         pre = tmp[i];
               ^
0_0_38320148_13304.cpp: In function 'int main()':
0_0_38320148_13304.cpp:53:24: error: 'solve' was not declared in this scope
         cout << solve(m) - solve(n - 1) << 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-07-05 15:18:54, Gzip enabled