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_22270861_21455.c: In function 'main':
0_0_22270861_21455.c:5:48: error: expected expression before '/' token
 while(scanf("%d %d",&m, &n) &&(m!=-1)&&(n!=-1))//输入老鼠的粮食和房间数 
                                                ^
0_0_22270861_21455.c:5:48: error: stray '\312' in program
0_0_22270861_21455.c:5:48: error: stray '\344' in program
0_0_22270861_21455.c:5:48: error: stray '\310' in program
0_0_22270861_21455.c:5:48: error: stray '\353' in program
0_0_22270861_21455.c:5:48: error: stray '\300' in program
0_0_22270861_21455.c:5:48: error: stray '\317' in program
0_0_22270861_21455.c:5:48: error: stray '\312' in program
0_0_22270861_21455.c:5:48: error: stray '\363' in program
0_0_22270861_21455.c:5:48: error: stray '\265' in program
0_0_22270861_21455.c:5:48: error: stray '\304' in program
0_0_22270861_21455.c:5:48: error: stray '\301' in program
0_0_22270861_21455.c:5:48: error: stray '\270' in program
0_0_22270861_21455.c:5:48: error: stray '\312' in program
0_0_22270861_21455.c:5:48: error: stray '\263' in program
0_0_22270861_21455.c:5:48: error: stray '\272' in program
0_0_22270861_21455.c:5:48: error: stray '\315' in program
0_0_22270861_21455.c:5:48: error: stray '\267' in program
0_0_22270861_21455.c:5:48: error: stray '\277' in program
0_0_22270861_21455.c:5:48: error: stray '\274' in program
0_0_22270861_21455.c:5:48: error: stray '\344' in program
0_0_22270861_21455.c:5:48: error: stray '\312' in program
0_0_22270861_21455.c:5:48: error: stray '\375' in program
0_0_22270861_21455.c:9:5: error: stray '\267' in program
     for(i=0;i<n;i++)                //房间数=循环次数// 
     ^
0_0_22270861_21455.c:9:5: error: stray '\277' in program
0_0_22270861_21455.c:9:5: error: stray '\274' in program
0_0_22270861_21455.c:9:5: error: stray '\344' in program
0_0_22270861_21455.c:9:5: error: stray '\312' in program
0_0_22270861_21455.c:9:5: error: stray '\375' in program
0_0_22270861_21455.c:9:5: error: stray '\321' in program
0_0_22270861_21455.c:9:5: error: stray '\255' in program
0_0_22270861_21455.c:9:5: error: stray '\273' in program
0_0_22270861_21455.c:9:5: error: stray '\267' in program
0_0_22270861_21455.c:9:5: error: stray '\264' in program
0_0_22270861_21455.c:9:5: error: stray '\316' in program
0_0_22270861_21455.c:9:5: error: stray '\312' in program
0_0_22270861_21455.c:9:5: error: stray '\375' in program
0_0_22270861_21455.c:10:3: error: stray '\312' in program
   {scanf("%d %d",&a[i],&b[i]);//输入宝典-粮食 兑换数// 
   ^
0_0_22270861_21455.c:10:3: error: stray '\344' in program
0_0_22270861_21455.c:10:3: error: stray '\310' in program
0_0_22270861_21455.c:10:3: error: stray '\353' in program
0_0_22270861_21455.c:10:3: error: stray '\261' in program
0_0_22270861_21455.c:10:3: error: stray '\246' in program
0_0_22270861_21455.c:10:3: error: stray '\265' in program
0_0_22270861_21455.c:10:3: error: stray '\344' in program
0_0_22270861_21455.c:10:3: error: stray '\301' in program
0_0_22270861_21455.c:10:3: error: stray '\270' in program
0_0_22270861_21455.c:10:3: error: stray '\312' in program
0_0_22270861_21455.c:10:3: error: stray '\263' in program
0_0_22270861_21455.c:10:3: error: stray '\266' in program
0_0_22270861_21455.c:10:3: error: stray '\322' in program
0_0_22270861_21455.c:10:3: error: stray '\273' in program
0_0_22270861_21455.c:10:3: error: stray '\273' in program
0_0_22270861_21455.c:10:3: error: stray '\312' in program
0_0_22270861_21455.c:10:3: error: stray '\375' in program
0_0_22270861_21455.c:11:10: error: stray '\307' in program
          p[i]=(double)a[i]/b[i];    //求兑换率// 
          ^
0_0_22270861_21455.c:11:10: error: stray '\363' in program
0_0_22270861_21455.c:11:10: error: stray '\266' in program
0_0_22270861_21455.c:11:10: error: stray '\322' in program
0_0_22270861_21455.c:11:10: error: stray '\273' in program
0_0_22270861_21455.c:11:10: error: stray '\273' in program
0_0_22270861_21455.c:11:10: error: stray '\302' in program
0_0_22270861_21455.c:11:10: error: stray '\312' in program
0_0_22270861_21455.c:19:12: error: stray '\307' in program
            { max=p[i]; k=i;}    }//求出兑换率最高的房间号// 
            ^
0_0_22270861_21455.c:19:12: error: stray '\363' in program
0_0_22270861_21455.c:19:12: error: stray '\263' in program
0_0_22270861_21455.c:19:12: error: stray '\366' in program
0_0_22270861_21455.c:19:12: error: stray '\266' in program
0_0_22270861_21455.c:19:12: error: stray '\322' in program
0_0_22270861_21455.c:19:12: error: stray '\273' in program
0_0_22270861_21455.c:19:12: error: stray '\273' in program
0_0_22270861_21455.c:19:12: error: stray '\302' in program
0_0_22270861_21455.c:19:12: error: stray '\312' in program
0_0_22270861_21455.c:19:12: error: stray '\327' in program
0_0_22270861_21455.c:19:12: error: stray '\356' in program
0_0_22270861_21455.c:19:12: error: stray '\270' in program
0_0_22270861_21455.c:19:12: error: stray '\337' in program
0_0_22270861_21455.c:19:12: error: stray '\265' in program
0_0_22270861_21455.c:19:12: error: stray '\304' in program
0_0_22270861_21455.c:19:12: error: stray '\267' in program
0_0_22270861_21455.c:19:12: error: stray '\277' in program
0_0_22270861_21455.c:19:12: error: stray '\274' in program
0_0_22270861_21455.c:19:12: error: stray '\344' in program
0_0_22270861_21455.c:19:12: error: stray '\272' in program
0_0_22270861_21455.c:19:12: error: stray '\305' in program
0_0_22270861_21455.c:22:8: error: stray '\277' in program
        {m=m-b[k];            //扣除后老鼠所剩粮食//
        ^
0_0_22270861_21455.c:22:8: error: stray '\333' in program
0_0_22270861_21455.c:22:8: error: stray '\263' in program
0_0_22270861_21455.c:22:8: error: stray '\375' in program
0_0_22270861_21455.c:22:8: error: stray '\272' in program
0_0_22270861_21455.c:22:8: error: stray '\363' in program
0_0_22270861_21455.c:22:8: error: stray '\300' in program
0_0_22270861_21455.c:22:8: error: stray '\317' in program
0_0_22270861_21455.c:22:8: error: stray '\312' in program
0_0_22270861_21455.c:22:8: error: stray '\363' in program
0_0_22270861_21455.c:22:8: error: stray '\313' in program
0_0_22270861_21455.c:22:8: error: stray '\371' in program
0_0_22270861_21455.c:22:8: error: stray '\312' in program
0_0_22270861_21455.c:22:8: error: stray '\243' in program
0_0_22270861_21455.c:22:8: error: stray '\301' in program
0_0_22270861_21455.c:22:8: error: stray '\270' in program
0_0_22270861_21455.c:22:8: error: stray '\312' in program
0_0_22270861_21455.c:22:8: error: stray '\263' in program
0_0_22270861_21455.c:23:6: error: stray '\273' in program
      sum+=a[k];           //获得宝典数// 
      ^
0_0_22270861_21455.c:23:6: error: stray '\361' in program
0_0_22270861_21455.c:23:6: error: stray '\265' in program
0_0_22270861_21455.c:23:6: error: stray '\303' in program
0_0_22270861_21455.c:23:6: error: stray '\261' in program
0_0_22270861_21455.c:23:6: error: stray '\246' in program
0_0_22270861_21455.c:23:6: error: stray '\265' in program
0_0_22270861_21455.c:23:6: error: stray '\344' in program
0_0_22270861_21455.c:23:6: error: stray '\312' in program
0_0_22270861_21455.c:23:6: error: stray '\375' in program
0_0_22270861_21455.c:24:6: error: stray '\322' in program
      p[k]=0;}             //已兑换房间兑换率归零// 
      ^
0_0_22270861_21455.c:24:6: error: stray '\321' in program
0_0_22270861_21455.c:24:6: error: stray '\266' in program
0_0_22270861_21455.c:24:6: error: stray '\322' in program
0_0_22270861_21455.c:24:6: error: stray '\273' in program
0_0_22270861_21455.c:24:6: error: stray '\273' in program
0_0_22270861_21455.c:24:6: error: stray '\267' in program
0_0_22270861_21455.c:24:6: error: stray '\277' in program
0_0_22270861_21455.c:24:6: error: stray '\274' in program
0_0_22270861_21455.c:24:6: error: stray '\344' in program
0_0_22270861_21455.c:24:6: error: stray '\266' in program
0_0_22270861_21455.c:24:6: error: stray '\322' in program
0_0_22270861_21455.c:24:6: error: stray '\273' in program
0_0_22270861_21455.c:24:6: error: stray '\273' in program
0_0_22270861_21455.c:24:6: error: stray '\302' in program
0_0_22270861_21455.c:24:6: error: stray '\312' in program
0_0_22270861_21455.c:24:6: error: stray '\271' in program
0_0_22270861_21455.c:24:6: error: stray '\351' in program
0_0_22270861_21455.c:24:6: error: stray '\301' in program
0_0_22270861_21455.c:24:6: error: stray '\343' in program
0_0_22270861_21455.c:25:6: error: stray '\265' in program
      else                    //当剩余粮食小于兑换全部宝典所需粮食//
      ^
0_0_22270861_21455.c:25:6: error: stray '\261' in program
0_0_22270861_21455.c:25:6: error: stray '\312' in program
0_0_22270861_21455.c:25:6: error: stray '\243' in program
0_0_22270861_21455.c:25:6: error: stray '\323' in program
0_0_22270861_21455.c:25:6: error: stray '\340' in program
0_0_22270861_21455.c:25:6: error: stray '\301' in program
0_0_22270861_21455.c:25:6: error: stray '\270' in program
0_0_22270861_21455.c:25:6: error: stray '\312


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-17 18:57:47, Gzip enabled