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_30674718_13793.cpp:1:1: error: stray '\323' in program
 用c的最高位只有两种可能:先假设a最高位和c匹配,b用来匹配剩下的c-a
 ^
0_0_30674718_13793.cpp:1:1: error: stray '\303' in program
0_0_30674718_13793.cpp:1:1: error: stray '\265' in program
0_0_30674718_13793.cpp:1:1: error: stray '\304' in program
0_0_30674718_13793.cpp:1:1: error: stray '\327' in program
0_0_30674718_13793.cpp:1:1: error: stray '\356' in program
0_0_30674718_13793.cpp:1:1: error: stray '\270' in program
0_0_30674718_13793.cpp:1:1: error: stray '\337' in program
0_0_30674718_13793.cpp:1:1: error: stray '\316' in program
0_0_30674718_13793.cpp:1:1: error: stray '\273' in program
0_0_30674718_13793.cpp:1:1: error: stray '\326' in program
0_0_30674718_13793.cpp:1:1: error: stray '\273' in program
0_0_30674718_13793.cpp:1:1: error: stray '\323' in program
0_0_30674718_13793.cpp:1:1: error: stray '\320' in program
0_0_30674718_13793.cpp:1:1: error: stray '\301' in program
0_0_30674718_13793.cpp:1:1: error: stray '\275' in program
0_0_30674718_13793.cpp:1:1: error: stray '\326' in program
0_0_30674718_13793.cpp:1:1: error: stray '\326' in program
0_0_30674718_13793.cpp:1:1: error: stray '\277' in program
0_0_30674718_13793.cpp:1:1: error: stray '\311' in program
0_0_30674718_13793.cpp:1:1: error: stray '\304' in program
0_0_30674718_13793.cpp:1:1: error: stray '\334' in program
0_0_30674718_13793.cpp:1:1: error: stray '\243' in program
0_0_30674718_13793.cpp:1:1: error: stray '\272' in program
0_0_30674718_13793.cpp:1:1: error: stray '\317' in program
0_0_30674718_13793.cpp:1:1: error: stray '\310' in program
0_0_30674718_13793.cpp:1:1: error: stray '\274' in program
0_0_30674718_13793.cpp:1:1: error: stray '\331' in program
0_0_30674718_13793.cpp:1:1: error: stray '\311' in program
0_0_30674718_13793.cpp:1:1: error: stray '\350' in program
0_0_30674718_13793.cpp:1:1: error: stray '\327' in program
0_0_30674718_13793.cpp:1:1: error: stray '\356' in program
0_0_30674718_13793.cpp:1:1: error: stray '\270' in program
0_0_30674718_13793.cpp:1:1: error: stray '\337' in program
0_0_30674718_13793.cpp:1:1: error: stray '\316' in program
0_0_30674718_13793.cpp:1:1: error: stray '\273' in program
0_0_30674718_13793.cpp:1:1: error: stray '\272' in program
0_0_30674718_13793.cpp:1:1: error: stray '\315' in program
0_0_30674718_13793.cpp:1:1: error: stray '\306' in program
0_0_30674718_13793.cpp:1:1: error: stray '\245' in program
0_0_30674718_13793.cpp:1:1: error: stray '\305' in program
0_0_30674718_13793.cpp:1:1: error: stray '\344' in program
0_0_30674718_13793.cpp:1:1: error: stray '\243' in program
0_0_30674718_13793.cpp:1:1: error: stray '\254' in program
0_0_30674718_13793.cpp:1:1: error: stray '\323' in program
0_0_30674718_13793.cpp:1:1: error: stray '\303' in program
0_0_30674718_13793.cpp:1:1: error: stray '\300' in program
0_0_30674718_13793.cpp:1:1: error: stray '\264' in program
0_0_30674718_13793.cpp:1:1: error: stray '\306' in program
0_0_30674718_13793.cpp:1:1: error: stray '\245' in program
0_0_30674718_13793.cpp:1:1: error: stray '\305' in program
0_0_30674718_13793.cpp:1:1: error: stray '\344' in program
0_0_30674718_13793.cpp:1:1: error: stray '\312' in program
0_0_30674718_13793.cpp:1:1: error: stray '\243' in program
0_0_30674718_13793.cpp:1:1: error: stray '\317' in program
0_0_30674718_13793.cpp:1:1: error: stray '\302' in program
0_0_30674718_13793.cpp:1:1: error: stray '\265' in program
0_0_30674718_13793.cpp:1:1: error: stray '\304' in program
0_0_30674718_13793.cpp:2:1: error: stray '\265' in program
 1.a的最高位 :c-a=b*10^k 
 ^
0_0_30674718_13793.cpp:2:1: error: stray '\304' in program
0_0_30674718_13793.cpp:2:1: error: stray '\327' in program
0_0_30674718_13793.cpp:2:1: error: stray '\356' in program
0_0_30674718_13793.cpp:2:1: error: stray '\270' in program
0_0_30674718_13793.cpp:2:1: error: stray '\337' in program
0_0_30674718_13793.cpp:2:1: error: stray '\316' in program
0_0_30674718_13793.cpp:2:1: error: stray '\273' in program
0_0_30674718_13793.cpp:2:1: error: stray '\243' in program
0_0_30674718_13793.cpp:2:1: error: stray '\272' in program
0_0_30674718_13793.cpp:3:1: error: stray '\272' in program
 2.a和b的和进位后的最高位 : 那么只要将c*10再去匹配即可 c*10-a=b*10^k
 ^
0_0_30674718_13793.cpp:3:1: error: stray '\315' in program
0_0_30674718_13793.cpp:3:1: error: stray '\265' in program
0_0_30674718_13793.cpp:3:1: error: stray '\304' in program
0_0_30674718_13793.cpp:3:1: error: stray '\272' in program
0_0_30674718_13793.cpp:3:1: error: stray '\315' in program
0_0_30674718_13793.cpp:3:1: error: stray '\275' in program
0_0_30674718_13793.cpp:3:1: error: stray '\370' in program
0_0_30674718_13793.cpp:3:1: error: stray '\316' in program
0_0_30674718_13793.cpp:3:1: error: stray '\273' in program
0_0_30674718_13793.cpp:3:1: error: stray '\272' in program
0_0_30674718_13793.cpp:3:1: error: stray '\363' in program
0_0_30674718_13793.cpp:3:1: error: stray '\265' in program
0_0_30674718_13793.cpp:3:1: error: stray '\304' in program
0_0_30674718_13793.cpp:3:1: error: stray '\327' in program
0_0_30674718_13793.cpp:3:1: error: stray '\356' in program
0_0_30674718_13793.cpp:3:1: error: stray '\270' in program
0_0_30674718_13793.cpp:3:1: error: stray '\337' in program
0_0_30674718_13793.cpp:3:1: error: stray '\316' in program
0_0_30674718_13793.cpp:3:1: error: stray '\273' in program
0_0_30674718_13793.cpp:3:1: error: stray '\304' in program
0_0_30674718_13793.cpp:3:1: error: stray '\307' in program
0_0_30674718_13793.cpp:3:1: error: stray '\303' in program
0_0_30674718_13793.cpp:3:1: error: stray '\264' in program
0_0_30674718_13793.cpp:3:1: error: stray '\326' in program
0_0_30674718_13793.cpp:3:1: error: stray '\273' in program
0_0_30674718_13793.cpp:3:1: error: stray '\322' in program
0_0_30674718_13793.cpp:3:1: error: stray '\252' in program
0_0_30674718_13793.cpp:3:1: error: stray '\275' in program
0_0_30674718_13793.cpp:3:1: error: stray '\253' in program
0_0_30674718_13793.cpp:3:1: error: stray '\324' in program
0_0_30674718_13793.cpp:3:1: error: stray '\331' in program
0_0_30674718_13793.cpp:3:1: error: stray '\310' in program
0_0_30674718_13793.cpp:3:1: error: stray '\245' in program
0_0_30674718_13793.cpp:3:1: error: stray '\306' in program
0_0_30674718_13793.cpp:3:1: error: stray '\245' in program
0_0_30674718_13793.cpp:3:1: error: stray '\305' in program
0_0_30674718_13793.cpp:3:1: error: stray '\344' in program
0_0_30674718_13793.cpp:3:1: error: stray '\274' in program
0_0_30674718_13793.cpp:3:1: error: stray '\264' in program
0_0_30674718_13793.cpp:3:1: error: stray '\277' in program
0_0_30674718_13793.cpp:3:1: error: stray '\311' in program
0_0_30674718_13793.cpp:4:1: error: stray '\327' in program
 最后如果匹配的话,只要求出b后面跟着的0即可
 ^
0_0_30674718_13793.cpp:4:1: error: stray '\356' in program
0_0_30674718_13793.cpp:4:1: error: stray '\272' in program
0_0_30674718_13793.cpp:4:1: error: stray '\363' in program
0_0_30674718_13793.cpp:4:1: error: stray '\310' in program
0_0_30674718_13793.cpp:4:1: error: stray '\347' in program
0_0_30674718_13793.cpp:4:1: error: stray '\271' in program
0_0_30674718_13793.cpp:4:1: error: stray '\373' in program
0_0_30674718_13793.cpp:4:1: error: stray '\306' in program
0_0_30674718_13793.cpp:4:1: error: stray '\245' in program
0_0_30674718_13793.cpp:4:1: error: stray '\305' in program
0_0_30674718_13793.cpp:4:1: error: stray '\344' in program
0_0_30674718_13793.cpp:4:1: error: stray '\265' in program
0_0_30674718_13793.cpp:4:1: error: stray '\304' in program
0_0_30674718_13793.cpp:4:1: error: stray '\273' in program
0_0_30674718_13793.cpp:4:1: error: stray '\260' in program
0_0_30674718_13793.cpp:4:1: error: stray '\243' in program
0_0_30674718_13793.cpp:4:1: error: stray '\254' in program
0_0_30674718_13793.cpp:4:1: error: stray '\326' in program
0_0_30674718_13793.cpp:4:1: error: stray '\273' in program
0_0_30674718_13793.cpp:4:1: error: stray '\322' in program
0_0_30674718_13793.cpp:4:1: error: stray '\252' in program
0_0_30674718_13793.cpp:4:1: error: stray '\307' in program
0_0_30674718_13793.cpp:4:1: error: stray '\363' in program
0_0_30674718_13793.cpp:4:1: error: stray '\263' in program
0_0_30674718_13793.cpp:4:1: error: stray '\366' in program
0_0_30674718_13793.cpp:4:1: error: stray '\272' in program
0_0_30674718_13793.cpp:4:1: error: stray '\363' in program
0_0_30674718_13793.cpp:4:1: error: stray '\303' in program
0_0_30674718_13793.cpp:4:1: error: stray '\346' in program
0_0_30674718_13793.cpp:4:1: error: stray '\270' in program
0_0_30674718_13793.cpp:4:1: error: stray '\372' in program
0_0_30674718_13793.cpp:4:1: error: stray '\327' in program
0_0_30674718_13793.cpp:4:1: error: stray '\305' in program
0_0_30674718_13793.cpp:4:1: error: stray '\265' in program
0_0_30674718_13793.cpp:4:1: error: stray '\304' in program
0_0_30674718_13793.cpp:4:1: error: stray '\274' in program
0_0_30674


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 19:07:59, Gzip enabled