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_26619262_17259.cpp:3:1: error: 'usingnamespace' does not name a type
 usingnamespace std;
 ^
0_0_26619262_17259.cpp:5:1: error: 'inttable' does not name a type
 inttable[]={0,1,2,-1,3,4,5,6,-1,7};//原数字各位上的0-9数字分别对应8进制数的那几位
 ^
0_0_26619262_17259.cpp: In function 'int intmain()':
0_0_26619262_17259.cpp:15: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-29 15:07:41, Gzip enabled