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_35064756_12593.cpp:12:16: error: stray '#' in program
 const int INF = 0x3f3f3f3f;
                ^
0_0_35064756_12593.cpp:13:16: error: stray '#' in program
 int dir[4][2] = {<!-- -->{1,0},{0,1},{-1,0},{0,-1}};
                ^
0_0_35064756_12593.cpp:20:12: error: stray '#' in program
     scanf("%d",&T);
            ^
0_0_35064756_12593.cpp:20:19: error: stray '#' in program
     scanf("%d",&T);
                   ^
0_0_35064756_12593.cpp:23:16: error: stray '#' in program
         scanf("%d",&N);
                ^
0_0_35064756_12593.cpp:23:23: error: stray '#' in program
         scanf("%d",&N);
                       ^
0_0_35064756_12593.cpp:24:18: error: stray '#' in program
         int ans = 0,cut = 0;
                  ^
0_0_35064756_12593.cpp:24:30: error: stray '#' in program
         int ans = 0,cut = 0;
                              ^
0_0_35064756_12593.cpp:25:20: error: stray '#' in program
         for(int i = 0 ; i < N; i++)
                    ^
0_0_35064756_12593.cpp:27:20: error: stray '#' in program
             scanf("%d %d",&a,&b);
                    ^
0_0_35064756_12593.cpp:27:30: error: stray '#' in program
             scanf("%d %d",&a,&b);
                              ^
0_0_35064756_12593.cpp:28:19: error: stray '#' in program
             p[i] = make_pair(a,b);
                   ^
0_0_35064756_12593.cpp:31:20: error: stray '#' in program
         for(int i = N - 1; i >= 0; i--)
                    ^
0_0_35064756_12593.cpp:31:36: error: stray '#' in program
         for(int i = N - 1; i >= 0; i--)
                                    ^
0_0_35064756_12593.cpp:32:24: error: stray '#' in program
             for(int j = p[i].second; j >= 1; j--)
                        ^
0_0_35064756_12593.cpp:32:46: error: stray '#' in program
             for(int j = p[i].second; j >= 1; j--)
                                              ^
0_0_35064756_12593.cpp:34:23: error: stray '#' in program
                 cut += p[i].first;
                       ^
0_0_35064756_12593.cpp:36:23: error: stray '#' in program
                 ans += cut;
                       ^
0_0_35064756_12593.cpp:38:17: error: stray '#' in program
         printf("%d\n",ans);
                 ^
0_0_35064756_12593.cpp:38:9: error: stray '\' in program
         printf("%d\n",ans);
         ^
0_0_35064756_12593.cpp:38:26: error: stray '#' in program
         printf("%d\n",ans);
                          ^
0_0_35064756_12593.cpp:12:15: error: expected initializer before '&' token
 const int INF = 0x3f3f3f3f;
               ^
0_0_35064756_12593.cpp:12:21: error: expected unqualified-id before numeric constant
 const int INF = 0x3f3f3f3f;
                     ^
0_0_35064756_12593.cpp:13:15: error: expected initializer before '&' token
 int dir[4][2] = {<!-- -->{1,0},{0,1},{-1,0},{0,-1}};
               ^
0_0_35064756_12593.cpp:13:21: error: expected unqualified-id before '{' token
 int dir[4][2] = {<!-- -->{1,0},{0,1},{-1,0},{0,-1}};
                     ^


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 03:51:36, Gzip enabled