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_18036211_31266.cpp:12:9: error: stray '\' in program
         }   /\n<=m  
         ^
0_0_18036211_31266.cpp: In function 'int main()':
0_0_18036211_31266.cpp:12:13: error: expected primary-expression before '/' token
         }   /\n<=m  
             ^
0_0_18036211_31266.cpp:17:13: error: 'answer' was not declared in this scope
             answer = n / 2;  
             ^
0_0_18036211_31266.cpp:18:22: error: 'ans' was not declared in this scope
         else if(x == ans || x == ans + 1 || y == 1 || y == m)  
                      ^
0_0_18036211_31266.cpp:19:13: error: 'answer' was not declared in this scope
             answer = ans;  
             ^
0_0_18036211_31266.cpp:21:13: error: 'answer' was not declared in this scope
             answer= min(max(up,down),min(left,right));  
             ^
0_0_18036211_31266.cpp:23:13: error: 'answer' was not declared in this scope
             answer = ans;  
             ^
0_0_18036211_31266.cpp:24:23: error: 'answer' was not declared in this scope
         printf("%d\n",answer);  
                       ^


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-26 09:45:33, Gzip enabled