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_18654826_17995.c: In function 'main':
0_0_18654826_17995.c:13:32: error: expected expression before '/' token
             p[i]=J[i]*1.0/F[i];//这里强制转换下
                                ^
0_0_18654826_17995.c:13:32: error: stray '\325' in program
0_0_18654826_17995.c:13:32: error: stray '\342' in program
0_0_18654826_17995.c:13:32: error: stray '\300' in program
0_0_18654826_17995.c:13:32: error: stray '\357' in program
0_0_18654826_17995.c:13:32: error: stray '\307' in program
0_0_18654826_17995.c:13:32: error: stray '\277' in program
0_0_18654826_17995.c:13:32: error: stray '\326' in program
0_0_18654826_17995.c:13:32: error: stray '\306' in program
0_0_18654826_17995.c:13:32: error: stray '\327' in program
0_0_18654826_17995.c:13:32: error: stray '\252' in program
0_0_18654826_17995.c:13:32: error: stray '\273' in program
0_0_18654826_17995.c:13:32: error: stray '\273' in program
0_0_18654826_17995.c:13:32: error: stray '\317' in program
0_0_18654826_17995.c:13:32: error: stray '\302' in program
0_0_18654826_17995.c:16:1: error: expected expression before '/' token
 //这里用于做p[i]中间变量的temp1一定要是double型的,一开始囧了写成int了......
 ^
0_0_18654826_17995.c:16:1: error: stray '\325' in program
0_0_18654826_17995.c:16:1: error: stray '\342' in program
0_0_18654826_17995.c:16:1: error: stray '\300' in program
0_0_18654826_17995.c:16:1: error: stray '\357' in program
0_0_18654826_17995.c:16:1: error: stray '\323' in program
0_0_18654826_17995.c:16:1: error: stray '\303' in program
0_0_18654826_17995.c:16:1: error: stray '\323' in program
0_0_18654826_17995.c:16:1: error: stray '\332' in program
0_0_18654826_17995.c:16:1: error: stray '\327' in program
0_0_18654826_17995.c:16:1: error: stray '\366' in program
0_0_18654826_17995.c:16:1: error: stray '\326' in program
0_0_18654826_17995.c:16:1: error: stray '\320' in program
0_0_18654826_17995.c:16:1: error: stray '\274' in program
0_0_18654826_17995.c:16:1: error: stray '\344' in program
0_0_18654826_17995.c:16:1: error: stray '\261' in program
0_0_18654826_17995.c:16:1: error: stray '\344' in program
0_0_18654826_17995.c:16:1: error: stray '\301' in program
0_0_18654826_17995.c:16:1: error: stray '\277' in program
0_0_18654826_17995.c:16:1: error: stray '\265' in program
0_0_18654826_17995.c:16:1: error: stray '\304' in program
0_0_18654826_17995.c:16:1: error: stray '\322' in program
0_0_18654826_17995.c:16:1: error: stray '\273' in program
0_0_18654826_17995.c:16:1: error: stray '\266' in program
0_0_18654826_17995.c:16:1: error: stray '\250' in program
0_0_18654826_17995.c:16:1: error: stray '\322' in program
0_0_18654826_17995.c:16:1: error: stray '\252' in program
0_0_18654826_17995.c:16:1: error: stray '\312' in program
0_0_18654826_17995.c:16:1: error: stray '\307' in program
0_0_18654826_17995.c:16:1: error: stray '\320' in program
0_0_18654826_17995.c:16:1: error: stray '\315' in program
0_0_18654826_17995.c:16:1: error: stray '\265' in program
0_0_18654826_17995.c:16:1: error: stray '\304' in program
0_0_18654826_17995.c:16:1: error: stray '\243' in program
0_0_18654826_17995.c:16:1: error: stray '\254' in program
0_0_18654826_17995.c:16:1: error: stray '\322' in program
0_0_18654826_17995.c:16:1: error: stray '\273' in program
0_0_18654826_17995.c:16:1: error: stray '\277' in program
0_0_18654826_17995.c:16:1: error: stray '\252' in program
0_0_18654826_17995.c:16:1: error: stray '\312' in program
0_0_18654826_17995.c:16:1: error: stray '\274' in program
0_0_18654826_17995.c:16:1: error: stray '\207' in program
0_0_18654826_17995.c:16:1: error: stray '\345' in program
0_0_18654826_17995.c:16:1: error: stray '\301' in program
0_0_18654826_17995.c:16:1: error: stray '\313' in program
0_0_18654826_17995.c:16:1: error: stray '\320' in program
0_0_18654826_17995.c:16:1: error: stray '\264' in program
0_0_18654826_17995.c:16:1: error: stray '\263' in program
0_0_18654826_17995.c:16:1: error: stray '\311' in program
0_0_18654826_17995.c:16:1: error: stray '\301' in program
0_0_18654826_17995.c:16:1: error: stray '\313' in program
0_0_18654826_17995.c:35:1: error: stray '\322' in program
 //以上是排序并交换变量,把J[i],F[i]都要交换,这样得到的就是按p[i]排序并且同时将J[i],F[i]排好序的数列。
 ^
0_0_18654826_17995.c:35:1: error: stray '\324' in program
0_0_18654826_17995.c:35:1: error: stray '\311' in program
0_0_18654826_17995.c:35:1: error: stray '\317' in program
0_0_18654826_17995.c:35:1: error: stray '\312' in program
0_0_18654826_17995.c:35:1: error: stray '\307' in program
0_0_18654826_17995.c:35:1: error: stray '\305' in program
0_0_18654826_17995.c:35:1: error: stray '\305' in program
0_0_18654826_17995.c:35:1: error: stray '\320' in program
0_0_18654826_17995.c:35:1: error: stray '\362' in program
0_0_18654826_17995.c:35:1: error: stray '\262' in program
0_0_18654826_17995.c:35:1: error: stray '\242' in program
0_0_18654826_17995.c:35:1: error: stray '\275' in program
0_0_18654826_17995.c:35:1: error: stray '\273' in program
0_0_18654826_17995.c:35:1: error: stray '\273' in program
0_0_18654826_17995.c:35:1: error: stray '\273' in program
0_0_18654826_17995.c:35:1: error: stray '\261' in program
0_0_18654826_17995.c:35:1: error: stray '\344' in program
0_0_18654826_17995.c:35:1: error: stray '\301' in program
0_0_18654826_17995.c:35:1: error: stray '\277' in program
0_0_18654826_17995.c:35:1: error: stray '\243' in program
0_0_18654826_17995.c:35:1: error: stray '\254' in program
0_0_18654826_17995.c:35:1: error: stray '\260' in program
0_0_18654826_17995.c:35:1: error: stray '\321' in program
0_0_18654826_17995.c:35:1: error: stray '\266' in program
0_0_18654826_17995.c:35:1: error: stray '\274' in program
0_0_18654826_17995.c:35:1: error: stray '\322' in program
0_0_18654826_17995.c:35:1: error: stray '\252' in program
0_0_18654826_17995.c:35:1: error: stray '\275' in program
0_0_18654826_17995.c:35:1: error: stray '\273' in program
0_0_18654826_17995.c:35:1: error: stray '\273' in program
0_0_18654826_17995.c:35:1: error: stray '\273' in program
0_0_18654826_17995.c:35:1: error: stray '\243' in program
0_0_18654826_17995.c:35:1: error: stray '\254' in program
0_0_18654826_17995.c:35:1: error: stray '\325' in program
0_0_18654826_17995.c:35:1: error: stray '\342' in program
0_0_18654826_17995.c:35:1: error: stray '\321' in program
0_0_18654826_17995.c:35:1: error: stray '\371' in program
0_0_18654826_17995.c:35:1: error: stray '\265' in program
0_0_18654826_17995.c:35:1: error: stray '\303' in program
0_0_18654826_17995.c:35:1: error: stray '\265' in program
0_0_18654826_17995.c:35:1: error: stray '\275' in program
0_0_18654826_17995.c:35:1: error: stray '\265' in program
0_0_18654826_17995.c:35:1: error: stray '\304' in program
0_0_18654826_17995.c:35:1: error: stray '\276' in program
0_0_18654826_17995.c:35:1: error: stray '\315' in program
0_0_18654826_17995.c:35:1: error: stray '\312' in program
0_0_18654826_17995.c:35:1: error: stray '\307' in program
0_0_18654826_17995.c:35:1: error: stray '\260' in program
0_0_18654826_17995.c:35:1: error: stray '\264' in program
0_0_18654826_17995.c:35:1: error: stray '\305' in program
0_0_18654826_17995.c:35:1: error: stray '\305' in program
0_0_18654826_17995.c:35:1: error: stray '\320' in program
0_0_18654826_17995.c:35:1: error: stray '\362' in program
0_0_18654826_17995.c:35:1: error: stray '\262' in program
0_0_18654826_17995.c:35:1: error: stray '\242' in program
0_0_18654826_17995.c:35:1: error: stray '\307' in program
0_0_18654826_17995.c:35:1: error: stray '\322' in program
0_0_18654826_17995.c:35:1: error: stray '\315' in program
0_0_18654826_17995.c:35:1: error: stray '\254' in program
0_0_18654826_17995.c:35:1: error: stray '\312' in program
0_0_18654826_17995.c:35:1: error: stray '\261' in program
0_0_18654826_17995.c:35:1: error: stray '\275' in program
0_0_18654826_17995.c:35:1: error: stray '\253' in program
0_0_18654826_17995.c:35:1: error: stray '\243' in program
0_0_18654826_17995.c:35:1: error: stray '\254' in program
0_0_18654826_17995.c:35:1: error: stray '\305' in program
0_0_18654826_17995.c:35:1: error: stray '\305' in program
0_0_18654826_17995.c:35:1: error: stray '\272' in program
0_0_18654826_17995.c:35:1: error: stray '\303' in program
0_0_18654826_17995.c:35:1: error: stray '\320' in program
0_0_18654826_17995.c:35:1: error: stray '\362' in program
0_0_18654826_17995.c:35:1: error: stray '\265' in program
0_0_18654826_17995.c:35:1: error: stray '\304' in program
0_0_18654826_17995.c:35:1: error: stray '\312' in program
0_0_18654826_17995.c:35:1: error: stray '\375' in program
0_0_18654826_17995.c:35:1: error: stray '\301' in program
0_0_18654826_17995.c:35:1: error: stray '\320' in program
0_0_18654826_17995.c:35:1: error: stray '\241' in program
0_0_18654826_17995.c:35:1: error: stray '\243' in program
0_0_18654826_17995.c:36:24: error: expected expression before '/' token
       


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-16 23:14:34, Gzip enabled