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_39385169_3242.cpp: In function 'int main()':
0_0_39385169_3242.cpp:15:31: error: expected unqualified-id before '&' token
   15 |         while (scanf("%d %d". &n, &m) != EOF)
      |                               ^
0_0_39385169_3242.cpp:28:41: error: 'ans_y' was not declared in this scope; did you mean 'anx_y'?
   28 |                                         ans_y = j;
      |                                         ^~~~~
      |                                         anx_y
0_0_39385169_3242.cpp:32:41: error: 'ans_y' was not declared in this scope; did you mean 'anx_y'?
   32 |                 cout << ans_x << ' ' << ans_y << ' ' << ans << endl;
      |                                         ^~~~~
      |                                         anx_y


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 04:52:46, Gzip enabled