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_16063496_3680.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include <stdio.h> 
         ^
0_0_16063496_3680.cpp:2:5: error: stray '#' in program
 int main()
     ^
0_0_16063496_3680.cpp:4:2: error: stray '#' in program
   int n,m,i;
  ^
0_0_16063496_3680.cpp:4:8: error: stray '#' in program
   int n,m,i;
        ^
0_0_16063496_3680.cpp:4:17: error: stray '#' in program
   int n,m,i;
                 ^
0_0_16063496_3680.cpp:5:2: error: stray '#' in program
   int sum,k,s; 
  ^
0_0_16063496_3680.cpp:5:8: error: stray '#' in program
   int sum,k,s; 
        ^
0_0_16063496_3680.cpp:5:17: error: stray '#' in program
   int sum,k,s; 
                 ^
0_0_16063496_3680.cpp:5:31: error: stray '#' in program
   int sum,k,s; 
                               ^
0_0_16063496_3680.cpp:6:2: error: stray '#' in program
  int count,re,tag; 
  ^
0_0_16063496_3680.cpp:6:11: error: stray '#' in program
  int count,re,tag; 
           ^
0_0_16063496_3680.cpp:6:30: error: stray '#' in program
  int count,re,tag; 
                              ^
0_0_16063496_3680.cpp:7:2: error: stray '#' in program
  while(scanf("%d %d",&n,&m)!=EOF)
  ^
0_0_16063496_3680.cpp:9:2: error: stray '#' in program
    k = n/m;   tag = 0; 
  ^
0_0_16063496_3680.cpp:9:8: error: stray '#' in program
    k = n/m;   tag = 0; 
        ^
0_0_16063496_3680.cpp:9:14: error: stray '#' in program
    k = n/m;   tag = 0; 
              ^
0_0_16063496_3680.cpp:9:21: error: stray '#' in program
    k = n/m;   tag = 0; 
                     ^
0_0_16063496_3680.cpp:9:28: error: stray '#' in program
    k = n/m;   tag = 0; 
                            ^
0_0_16063496_3680.cpp:9:38: error: stray '#' in program
    k = n/m;   tag = 0; 
                                      ^
0_0_16063496_3680.cpp:9:44: error: stray '#' in program
    k = n/m;   tag = 0; 
                                            ^
0_0_16063496_3680.cpp:9:50: error: stray '#' in program
    k = n/m;   tag = 0; 
                                                  ^
0_0_16063496_3680.cpp:9:59: error: stray '#' in program
    k = n/m;   tag = 0; 
                                                           ^
0_0_16063496_3680.cpp:9:66: error: stray '#' in program
    k = n/m;   tag = 0; 
                                                                  ^
0_0_16063496_3680.cpp:9:74: error: stray '#' in program
    k = n/m;   tag = 0; 
                                                                          ^
0_0_16063496_3680.cpp:10:2: error: stray '#' in program
   for(count=1;count<=k;count++)
  ^
0_0_16063496_3680.cpp:10:8: error: stray '#' in program
   for(count=1;count<=k;count++)
        ^
0_0_16063496_3680.cpp:12:2: error: stray '#' in program
     s = count*m;    sum = 0; 
  ^
0_0_16063496_3680.cpp:12:8: error: stray '#' in program
     s = count*m;    sum = 0; 
        ^
0_0_16063496_3680.cpp:12:14: error: stray '#' in program
     s = count*m;    sum = 0; 
              ^
0_0_16063496_3680.cpp:12:20: error: stray '#' in program
     s = count*m;    sum = 0; 
                    ^
0_0_16063496_3680.cpp:12:27: error: stray '#' in program
     s = count*m;    sum = 0; 
                           ^
0_0_16063496_3680.cpp:12:34: error: stray '#' in program
     s = count*m;    sum = 0; 
                                  ^
0_0_16063496_3680.cpp:12:48: error: stray '#' in program
     s = count*m;    sum = 0; 
                                                ^
0_0_16063496_3680.cpp:12:54: error: stray '#' in program
     s = count*m;    sum = 0; 
                                                      ^
0_0_16063496_3680.cpp:12:60: error: stray '#' in program
     s = count*m;    sum = 0; 
                                                            ^
0_0_16063496_3680.cpp:12:66: error: stray '#' in program
     s = count*m;    sum = 0; 
                                                                  ^
0_0_16063496_3680.cpp:12:75: error: stray '#' in program
     s = count*m;    sum = 0; 
                                                                           ^
0_0_16063496_3680.cpp:12:82: error: stray '#' in program
     s = count*m;    sum = 0; 
                                                                                  ^
0_0_16063496_3680.cpp:12:90: error: stray '#' in program
     s = count*m;    sum = 0; 
                                                                                          ^
0_0_16063496_3680.cpp:13:2: error: stray '#' in program
    for(i=s-m+1;i<=s;i++)
  ^
0_0_16063496_3680.cpp:13:8: error: stray '#' in program
    for(i=s-m+1;i<=s;i++)
        ^
0_0_16063496_3680.cpp:13:14: error: stray '#' in program
    for(i=s-m+1;i<=s;i++)
              ^
0_0_16063496_3680.cpp:15:2: error: stray '#' in program
      sum = sum + i*2;
  ^
0_0_16063496_3680.cpp:15:8: error: stray '#' in program
      sum = sum + i*2;
        ^
0_0_16063496_3680.cpp:15:14: error: stray '#' in program
      sum = sum + i*2;
              ^
0_0_16063496_3680.cpp:15:20: error: stray '#' in program
      sum = sum + i*2;
                    ^
0_0_16063496_3680.cpp:15:26: error: stray '#' in program
      sum = sum + i*2;
                          ^
0_0_16063496_3680.cpp:15:35: error: stray '#' in program
      sum = sum + i*2;
                                   ^
0_0_16063496_3680.cpp:15:42: error: stray '#' in program
      sum = sum + i*2;
                                          ^
0_0_16063496_3680.cpp:15:51: error: stray '#' in program
      sum = sum + i*2;
                                                   ^
0_0_16063496_3680.cpp:15:58: error: stray '#' in program
      sum = sum + i*2;
                                                          ^
0_0_16063496_3680.cpp:16:2: error: stray '#' in program
     } 
  ^
0_0_16063496_3680.cpp:16:8: error: stray '#' in program
     } 
        ^
0_0_16063496_3680.cpp:16:14: error: stray '#' in program
     } 
              ^
0_0_16063496_3680.cpp:16:20: error: stray '#' in program
     } 
                    ^
0_0_16063496_3680.cpp:16:27: error: stray '#' in program
     } 
                           ^
0_0_16063496_3680.cpp:17:2: error: stray '#' in program
    if(tag==0)
  ^
0_0_16063496_3680.cpp:17:8: error: stray '#' in program
    if(tag==0)
        ^
0_0_16063496_3680.cpp:17:14: error: stray '#' in program
    if(tag==0)
              ^
0_0_16063496_3680.cpp:18:3: error: stray '#' in program
 { 
   ^
0_0_16063496_3680.cpp:19:2: error: stray '#' in program
     printf("%d",sum/m);
  ^
0_0_16063496_3680.cpp:19:8: error: stray '#' in program
     printf("%d",sum/m);
        ^
0_0_16063496_3680.cpp:19:14: error: stray '#' in program
     printf("%d",sum/m);
              ^
0_0_16063496_3680.cpp:19:20: error: stray '#' in program
     printf("%d",sum/m);
                    ^
0_0_16063496_3680.cpp:20:2: error: stray '#' in program
      tag =1; 
  ^
0_0_16063496_3680.cpp:20:8: error: stray '#' in program
      tag =1; 
        ^
0_0_16063496_3680.cpp:20:14: error: stray '#' in program
      tag =1; 
              ^
0_0_16063


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