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_22984073_7887.cpp:4:1: error: 'usingnamespace' does not name a type
 usingnamespace std;
 ^
0_0_22984073_7887.cpp:6:1: error: 'inttable' does not name a type
 inttable[]={0,1,2,-1,3,4,5,6,-1,7};//原数字各位上的0-9数字分别对应8进制数的那几位
 ^
0_0_22984073_7887.cpp: In function 'int intmain()':
0_0_22984073_7887.cpp:16:21: error: 'table' was not declared in this scope
             s=s+jie*table[n%10];//原里程的对应每一位转化位8进制数再转化为10进制值
                     ^


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 00:44:25, Gzip enabled