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_39025707_13529.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include
      |         ^
0_0_39025707_13529.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
    3 | #include
      |         ^
0_0_39025707_13529.cpp: In function 'int main()':
0_0_39025707_13529.cpp:17:7: error: 'scanf' was not declared in this scope
   17 | while(scanf("%d%d",&n,&m)!=EOF)
      |       ^~~~~
0_0_39025707_13529.cpp:17:28: error: 'EOF' was not declared in this scope
   17 | while(scanf("%d%d",&n,&m)!=EOF)
      |                            ^~~
0_0_39025707_13529.cpp:1:1: note: 'EOF' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
  +++ |+#include <cstdio>
    1 | #include
0_0_39025707_13529.cpp:23:10: error: expected ';' before '{' token
   23 | for(i=0;i
      |          ^
      |          ;
   24 | 
   25 | {
      | ~         
0_0_39025707_13529.cpp:25:1: error: expected primary-expression before '{' token
   25 | {
      | ^
0_0_39025707_13529.cpp:23:10: error: expected ')' before '{' token
   23 | for(i=0;i
      |    ~     ^
      |          )
   24 | 
   25 | {
      | ~         
0_0_39025707_13529.cpp:27:10: error: expected ';' before '{' token
   27 | for(j=0;j
      |          ^
      |          ;
   28 | 
   29 | {
      | ~         
0_0_39025707_13529.cpp:29:1: error: expected primary-expression before '{' token
   29 | {
      | ^
0_0_39025707_13529.cpp:27:10: error: expected ')' before '{' token
   27 | for(j=0;j
      |    ~     ^
      |          )
   28 | 
   29 | {
      | ~         
0_0_39025707_13529.cpp:37:1: error: 'memset' was not declared in this scope
   37 | memset(h,0,sizeof(float)*n);
      | ^~~~~~
0_0_39025707_13529.cpp:1:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
  +++ |+#include <cstring>
    1 | #include
0_0_39025707_13529.cpp:41:10: error: expected ';' before '{' token
   41 | for(i=0;i
      |          ^
      |          ;
   42 | 
   43 | {
      | ~         
0_0_39025707_13529.cpp:43:1: error: expected primary-expression before '{' token
   43 | {
      | ^
0_0_39025707_13529.cpp:41:10: error: expected ')' before '{' token
   41 | for(i=0;i
      |    ~     ^
      |          )
   42 | 
   43 | {
      | ~         
0_0_39025707_13529.cpp:45:10: error: expected ';' before '{' token
   45 | for(j=0;j
      |          ^
      |          ;
   46 | 
   47 | {
      | ~         
0_0_39025707_13529.cpp:47:1: error: expected primary-expression before '{' token
   47 | {
      | ^
0_0_39025707_13529.cpp:45:10: error: expected ')' before '{' token
   45 | for(j=0;j
      |    ~     ^
      |          )
   46 | 
   47 | {
      | ~         
0_0_39025707_13529.cpp:55:1: error: 'printf' was not declared in this scope
   55 | printf("%0.2f",h[0]/m);
      | ^~~~~~
0_0_39025707_13529.cpp:55:1: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
0_0_39025707_13529.cpp:57:10: error: expected ';' before '{' token
   57 | for(i=1;i
      |          ^
      |          ;
   58 | 
   59 | {
      | ~         
0_0_39025707_13529.cpp:59:1: error: expected primary-expression before '{' token
   59 | {
      | ^
0_0_39025707_13529.cpp:57:10: error: expected ')' before '{' token
   57 | for(i=1;i
      |    ~     ^
      |          )
   58 | 
   59 | {
      | ~         
0_0_39025707_13529.cpp:67:10: error: expected ';' before '{' token
   67 | for(j=0;j
      |          ^
      |          ;
   68 | 
   69 | {
      | ~         
0_0_39025707_13529.cpp:69:1: error: expected primary-expression before '{' token
   69 | {
      | ^
0_0_39025707_13529.cpp:67:10: error: expected ')' before '{' token
   67 | for(j=0;j
      |    ~     ^
      |          )
   68 | 
   69 | {
      | ~         
0_0_39025707_13529.cpp:71:10: error: expected ';' before '{' token
   71 | for(i=0;i
      |          ^
      |          ;
   72 | 
   73 | {
      | ~         
0_0_39025707_13529.cpp:73:1: error: expected primary-expression before '{' token
   73 | {
      | ^
0_0_39025707_13529.cpp:71:10: error: expected ')' before '{' token
   71 | for(i=0;i
      |    ~     ^
      |          )
   72 | 
   73 | {
      | ~         
0_0_39025707_13529.cpp:83:10: error: expected ';' before '{' token
   83 | for(i=1;i
      |          ^
      |          ;
   84 | 
   85 | {
      | ~         
0_0_39025707_13529.cpp:85:1: error: expected primary-expression before '{' token
   85 | {
      | ^
0_0_39025707_13529.cpp:83:10: error: expected ')' before '{' token
   83 | for(i=1;i
      |    ~     ^
      |          )
   84 | 
   85 | {
      | ~         
0_0_39025707_13529.cpp:93:10: error: expected ';' before '{' token
   93 | for(i=0;i
      |          ^
      |          ;
   94 | 
   95 | {
      | ~         
0_0_39025707_13529.cpp:95:1: error: expected primary-expression before '{' token
   95 | {
      | ^
0_0_39025707_13529.cpp:93:10: error: expected ')' before '{' token
   93 | for(i=0;i
      |    ~     ^
      |          )
   94 | 
   95 | {
      | ~         
0_0_39025707_13529.cpp:97:10: error: expected ';' before '{' token
   97 | for(j=0;j
      |          ^
      |          ;
   98 | 
   99 | {
      | ~         
0_0_39025707_13529.cpp:99:1: error: expected primary-expression before '{' token
   99 | {
      | ^
0_0_39025707_13529.cpp:97:10: error: expected ')' before '{' token
   97 | for(j=0;j
      |    ~     ^
      |          )
   98 | 
   99 | {
      | ~         


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-23 09:48:07, Gzip enabled