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_15234604_15589\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_15234604_15589\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
        ^
0_0_15234604_15589\Main.java:5: 错误: 需要class, interface或enum
int x1(double k)
^
0_0_15234604_15589\Main.java:8: 错误: 需要class, interface或enum
   return (int)k%10;
   ^
0_0_15234604_15589\Main.java:11: 错误: 需要class, interface或enum
}
^
0_0_15234604_15589\Main.java:16: 错误: 需要class, interface或enum
   return (int)k%10;
   ^
0_0_15234604_15589\Main.java:18: 错误: 需要class, interface或enum
}
^
0_0_15234604_15589\Main.java:22: 错误: 需要class, interface或enum
   return (int)k%10;
   ^
0_0_15234604_15589\Main.java:24: 错误: 需要class, interface或enum
}
^
0_0_15234604_15589\Main.java:30: 错误: 需要class, interface或enum
   cin>>T;
   ^
0_0_15234604_15589\Main.java:31: 错误: 需要class, interface或enum
   while(T--)
   ^
0_0_15234604_15589\Main.java:34: 错误: 需要class, interface或enum
       for(int i=0;i<12;i++)
       ^
0_0_15234604_15589\Main.java:34: 错误: 需要class, interface或enum
       for(int i=0;i<12;i++)
                   ^
0_0_15234604_15589\Main.java:34: 错误: 需要class, interface或enum
       for(int i=0;i<12;i++)
                        ^
0_0_15234604_15589\Main.java:37: 错误: 需要class, interface或enum
             cin>>temp;
             ^
0_0_15234604_15589\Main.java:38: 错误: 需要class, interface或enum
             ans+=temp;
             ^
0_0_15234604_15589\Main.java:40: 错误: 需要class, interface或enum
         }
         ^
0_0_15234604_15589\Main.java:43: 错误: 需要class, interface或enum
      if(x3(ans)>=5)  ans+=0.01;
      ^
0_0_15234604_15589\Main.java:45: 错误: 需要class, interface或enum
      cout<<"$"<<(long long )ans;
      ^
0_0_15234604_15589\Main.java:46: 错误: 需要class, interface或enum
      int a1=x1(ans);
      ^
0_0_15234604_15589\Main.java:48: 错误: 需要class, interface或enum
      int a2=x2(ans);
      ^
0_0_15234604_15589\Main.java:50: 错误: 需要class, interface或enum
       if(a1==0&&a2==0)   cout<<endl;
       ^
0_0_15234604_15589\Main.java:51: 错误: 需要class, interface或enum
      else if(a1!=0&&a2==0)  cout<<"."<<a1<<endl;
      ^
0_0_15234604_15589\Main.java:52: 错误: 需要class, interface或enum
      else cout<<"."<<a1<<a2<<endl;
      ^
0_0_15234604_15589\Main.java:56: 错误: 需要class, interface或enum
    }
    ^
25 个错误


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-10-31 21:21:34, Gzip enabled