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_16253486_12273.c:6:13: error: expected ':', ',', ';', '}' or '__attribute__' before '=' token
  int counter=0;
             ^
0_0_16253486_12273.c: In function 'main':
0_0_16253486_12273.c:20:12: error: 'struct ss' has no member named 'counter'
     if(s[i].counter==-1)
            ^
0_0_16253486_12273.c:24:10: error: 'struct ss' has no member named 'counter'
      s[i].counter++;
          ^
0_0_16253486_12273.c:25:10: error: 'struct ss' has no member named 'counter'
      s[j].counter=-1;
          ^
0_0_16253486_12273.c:30:11: error: 'struct ss' has no member named 'counter'
    if(s[j].counter<s[i].counter)
           ^
0_0_16253486_12273.c:30:24: error: 'struct ss' has no member named 'counter'
    if(s[j].counter<s[i].counter)
                        ^
0_0_16253486_12273.c:33:9: error: 'struct ss' has no member named 'counter'
     s[i].counter=0;
         ^
0_0_16253486_12273.c:38:7: error: 'struct ss' has no member named 'counter'
   s[j].counter=0;
       ^


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-04 11:21:35, Gzip enabled