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_33350943_20471.cpp:4:2: error: stray '#' in program
     int n,k;
  ^
0_0_33350943_20471.cpp:4:9: error: stray '#' in program
     int n,k;
         ^
0_0_33350943_20471.cpp:5:2: error: stray '#' in program
     int sum;
  ^
0_0_33350943_20471.cpp:5:9: error: stray '#' in program
     int sum;
         ^
0_0_33350943_20471.cpp:6:2: error: stray '#' in program
     while(scanf("%d",&k)!=EOF)
  ^
0_0_33350943_20471.cpp:6:9: error: stray '#' in program
     while(scanf("%d",&k)!=EOF)
         ^
0_0_33350943_20471.cpp:7:2: error: stray '#' in program
     {
  ^
0_0_33350943_20471.cpp:7:9: error: stray '#' in program
     {
         ^
0_0_33350943_20471.cpp:8:2: error: stray '#' in program
         n=1;
  ^
0_0_33350943_20471.cpp:8:9: error: stray '#' in program
         n=1;
         ^
0_0_33350943_20471.cpp:8:16: error: stray '#' in program
         n=1;
                ^
0_0_33350943_20471.cpp:8:23: error: stray '#' in program
         n=1;
                       ^
0_0_33350943_20471.cpp:9:2: error: stray '#' in program
         sum=0;
  ^
0_0_33350943_20471.cpp:9:9: error: stray '#' in program
         sum=0;
         ^
0_0_33350943_20471.cpp:9:16: error: stray '#' in program
         sum=0;
                ^
0_0_33350943_20471.cpp:9:23: error: stray '#' in program
         sum=0;
                       ^
0_0_33350943_20471.cpp:10:2: error: stray '#' in program
         while(1)
  ^
0_0_33350943_20471.cpp:10:9: error: stray '#' in program
         while(1)
         ^
0_0_33350943_20471.cpp:10:16: error: stray '#' in program
         while(1)
                ^
0_0_33350943_20471.cpp:10:23: error: stray '#' in program
         while(1)
                       ^
0_0_33350943_20471.cpp:11:2: error: stray '#' in program
         {
  ^
0_0_33350943_20471.cpp:11:9: error: stray '#' in program
         {
         ^
0_0_33350943_20471.cpp:11:16: error: stray '#' in program
         {
                ^
0_0_33350943_20471.cpp:11:23: error: stray '#' in program
         {
                       ^
0_0_33350943_20471.cpp:12:2: error: stray '#' in program
             if(n<=k)
  ^
0_0_33350943_20471.cpp:12:9: error: stray '#' in program
             if(n<=k)
         ^
0_0_33350943_20471.cpp:12:16: error: stray '#' in program
             if(n<=k)
                ^
0_0_33350943_20471.cpp:12:23: error: stray '#' in program
             if(n<=k)
                       ^
0_0_33350943_20471.cpp:12:30: error: stray '#' in program
             if(n<=k)
                              ^
0_0_33350943_20471.cpp:12:37: error: stray '#' in program
             if(n<=k)
                                     ^
0_0_33350943_20471.cpp:13:2: error: stray '#' in program
                 n=2*n;
  ^
0_0_33350943_20471.cpp:13:9: error: stray '#' in program
                 n=2*n;
         ^
0_0_33350943_20471.cpp:13:16: error: stray '#' in program
                 n=2*n;
                ^
0_0_33350943_20471.cpp:13:23: error: stray '#' in program
                 n=2*n;
                       ^
0_0_33350943_20471.cpp:13:30: error: stray '#' in program
                 n=2*n;
                              ^
0_0_33350943_20471.cpp:13:37: error: stray '#' in program
                 n=2*n;
                                     ^
0_0_33350943_20471.cpp:13:44: error: stray '#' in program
                 n=2*n;
                                            ^
0_0_33350943_20471.cpp:13:51: error: stray '#' in program
                 n=2*n;
                                                   ^
0_0_33350943_20471.cpp:14:2: error: stray '#' in program
             else
  ^
0_0_33350943_20471.cpp:14:9: error: stray '#' in program
             else
         ^
0_0_33350943_20471.cpp:14:16: error: stray '#' in program
             else
                ^
0_0_33350943_20471.cpp:14:23: error: stray '#' in program
             else
                       ^
0_0_33350943_20471.cpp:14:30: error: stray '#' in program
             else
                              ^
0_0_33350943_20471.cpp:14:37: error: stray '#' in program
             else
                                     ^
0_0_33350943_20471.cpp:15:2: error: stray '#' in program
                 n=(n-k)*2-1;
  ^
0_0_33350943_20471.cpp:15:9: error: stray '#' in program
                 n=(n-k)*2-1;
         ^
0_0_33350943_20471.cpp:15:16: error: stray '#' in program
                 n=(n-k)*2-1;
                ^
0_0_33350943_20471.cpp:15:23: error: stray '#' in program
                 n=(n-k)*2-1;
                       ^
0_0_33350943_20471.cpp:15:30: error: stray '#' in program
                 n=(n-k)*2-1;
                              ^
0_0_33350943_20471.cpp:15:37: error: stray '#' in program
                 n=(n-k)*2-1;
                                     ^
0_0_33350943_20471.cpp:15:44: error: stray '#' in program
                 n=(n-k)*2-1;
                                            ^
0_0_33350943_20471.cpp:15:51: error: stray '#' in program
                 n=(n-k)*2-1;
                                                   ^
0_0_33350943_20471.cpp:16:2: error: stray '#' in program
             if(n==1)
  ^
0_0_33350943_20471.cpp:16:9: error: stray '#' in program
             if(n==1)
         ^
0_0_33350943_20471.cpp:16:16: error: stray '#' in program
             if(n==1)
                ^
0_0_33350943_20471.cpp:16:23: error: stray '#' in program
             if(n==1)
                       ^
0_0_33350943_20471.cpp:16:30: error: stray '#' in program
             if(n==1)
                              ^
0_0_33350943_20471.cpp:16:37: error: stray '#' in program
             if(n==1)
                                     ^
0_0_33350943_20471.cpp:17:2: error: stray '#' in program
                 break;
  ^
0_0_33350943_20471.cpp:17:9: error: stray '#' in program
                 break;
         ^
0_0_33350943_20471.cpp:17:16: error: stray '#' in program
                 break;
                ^
0_0_33350943_20471.cpp:17:23: error: stray '#' in program
                 break;
                       ^
0_0_33350943_20471.cpp:17:30: error: stray '#' in program
                 break;
                              ^
0_0_33350943_20471.cpp:17:37: error: stray '#' in program
                 break;
                                     ^
0_0_33350943_20471.cpp:17:44: error: stray '#' in program
                 break;
                                            ^
0_0_33350943_20471.cpp:17:51: error: stray '#' in program
                 break;
                                                   ^
0_0_33350943_20471.cpp:18:2: error: stray '#' in program
             sum++;
  ^
0_0_33350943_20471.cpp:18:9: error: stray '#' in program
             sum++;
         ^
0_0_33350943_20471.cpp:18:16: error: stray '#' in program
             sum++;
                ^
0_0_33350943_20471.cpp:18:23: error: stray '#' in program
             sum++;
                       ^
0_0_33350943_20471.cpp:18:30: error: stray '#' in program
             sum++;
                              ^
0_0_33350943_20471.cpp:18:37: error: stray '#' in program
             sum++;
                                     ^
0_0_33350943_20471.cpp:19:2: error: stray '#' in program
         }
  ^
0_0_33350943_20471.cpp:19:9: error: stray '#' in program
         }
         ^
0_0_33350943_20471.cpp:19:16: error: st


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-17 03:35:15, Gzip enabled