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_32949502_21969.c:5:11: error: expected specifier-qualifier-list before '/' token
  double F;//¶Ò»»µÄjava¶¹
           ^
0_0_32949502_21969.c:5:11: error: stray '\266' in program
0_0_32949502_21969.c:5:11: error: stray '\322' in program
0_0_32949502_21969.c:5:11: error: stray '\273' in program
0_0_32949502_21969.c:5:11: error: stray '\273' in program
0_0_32949502_21969.c:5:11: error: stray '\265' in program
0_0_32949502_21969.c:5:11: error: stray '\304' in program
0_0_32949502_21969.c:5:11: error: stray '\266' in program
0_0_32949502_21969.c:5:11: error: stray '\271' in program
0_0_32949502_21969.c:6:2: error: stray '\303' in program
  double J;//èÁ¸
  ^
0_0_32949502_21969.c:6:2: error: stray '\250' in program
0_0_32949502_21969.c:6:2: error: stray '\301' in program
0_0_32949502_21969.c:6:2: error: stray '\270' in program
0_0_32949502_21969.c: In function 'mycomepare':
0_0_32949502_21969.c:11:7: error: 'struct javaBean' has no member named 'J'
  if (m->J == 0) {
       ^
0_0_32949502_21969.c:14:7: error: 'struct javaBean' has no member named 'J'
  if (n->J == 0) {
       ^
0_0_32949502_21969.c:17:18: error: 'struct javaBean' has no member named 'J'
  double first = n->J / n->F;
                  ^
0_0_32949502_21969.c:18:19: error: 'struct javaBean' has no member named 'J'
  double second = m->J / m->F;
                   ^
0_0_32949502_21969.c: In function 'main':
0_0_32949502_21969.c:35:37: error: 'struct javaBean' has no member named 'J'
    scanf("%lf %lf", &jb[i].F, &jb[i].J);
                                     ^
0_0_32949502_21969.c:40:18: error: 'struct javaBean' has no member named 'J'
    if (m >= jb[i].J) {
                  ^
0_0_32949502_21969.c:42:15: error: 'struct javaBean' has no member named 'J'
     m -= jb[i].J;
               ^
0_0_32949502_21969.c:45:22: error: 'struct javaBean' has no member named 'J'
     sum += (m / jb[i].J) * jb[i].F;
                      ^


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-12-05 08:27:39, Gzip enabled