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_5227799_5772\Main.java:1: 非法字符: \35
#include <iostream>
^
0_0_5227799_5772\Main.java:2: 非法字符: \35
#include <map>
^
0_0_5227799_5772\Main.java:4: 需要为 class、interface 或 enum
int main ()
^
0_0_5227799_5772\Main.java:7: 需要为 class、interface 或 enum
    while ( scanf ( "%d",&N ) , N )
    ^
0_0_5227799_5772\Main.java:10: 需要为 class、interface 或 enum
            int num;
            ^
0_0_5227799_5772\Main.java:11: 需要为 class、interface 或 enum
            for ( int i = 0; i != N; ++ i )
            ^
0_0_5227799_5772\Main.java:11: 需要为 class、interface 或 enum
            for ( int i = 0; i != N; ++ i )
                             ^
0_0_5227799_5772\Main.java:11: 需要为 class、interface 或 enum
            for ( int i = 0; i != N; ++ i )
                                     ^
0_0_5227799_5772\Main.java:14: 需要为 class、interface 或 enum
                  mp[num] ++; 
                  ^
0_0_5227799_5772\Main.java:15: 需要为 class、interface 或 enum
            }
            ^
0_0_5227799_5772\Main.java:17: 需要为 class、interface 或 enum
            cout << mp[num] << endl;
            ^
0_0_5227799_5772\Main.java:18: 需要为 class、interface 或 enum
    } 
    ^
0_0_5227799_5772\Main.java:21: 需要为 class、interface 或 enum
}
^
0_0_5227799_5772\Main.java:23: 需要为 class、interface 或 enum
{int scr[101],i;while(scanf("%d",&N),N){
                ^
0_0_5227799_5772\Main.java:25: 需要为 class、interface 或 enum
for (i = 0; i != N; ++ i )
^
0_0_5227799_5772\Main.java:25: 需要为 class、interface 或 enum
for (i = 0; i != N; ++ i )
            ^
0_0_5227799_5772\Main.java:25: 需要为 class、interface 或 enum
for (i = 0; i != N; ++ i )
                    ^
0_0_5227799_5772\Main.java:26: 需要为 class、interface 或 enum
{scanf ( "%d",&num );scr[num] ++;}
                     ^
0_0_5227799_5772\Main.java:26: 需要为 class、interface 或 enum
{scanf ( "%d",&num );scr[num] ++;}
                                 ^
0_0_5227799_5772\Main.java:28: 需要为 class、interface 或 enum
printf ("%d\n",scr[num]);} 
^
0_0_5227799_5772\Main.java:28: 需要为 class、interface 或 enum
printf ("%d\n",scr[num]);} 
                         ^
21 错误


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-02 23:36:22, Gzip enabled