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_39878880_6408.cpp: In function 'int main()':
0_0_39878880_6408.cpp:48:21: error: too few arguments to function 'void read(int&)'
   48 |         while(n=read(),m=read())
      |                 ~~~~^~
0_0_39878880_6408.cpp:6:6: note: declared here
    6 | void read(int &x){
      |      ^~~~
0_0_39878880_6408.cpp:48:30: error: too few arguments to function 'void read(int&)'
   48 |         while(n=read(),m=read())
      |                          ~~~~^~
0_0_39878880_6408.cpp:6:6: note: declared here
    6 | void read(int &x){
      |      ^~~~
0_0_39878880_6408.cpp:53:41: error: too few arguments to function 'void read(int&)'
   53 |                     dp2[i][j][0][0]=read();
      |                                     ~~~~^~
0_0_39878880_6408.cpp:6:6: note: declared here
    6 | void read(int &x){
      |      ^~~~
0_0_39878880_6408.cpp:55:19: error: too few arguments to function 'void read(int&)'
   55 |             s=read();
      |               ~~~~^~
0_0_39878880_6408.cpp:6:6: note: declared here
    6 | void read(int &x){
      |      ^~~~
0_0_39878880_6408.cpp:58:27: error: too few arguments to function 'void read(int&)'
   58 |                 int x=read(),y=read(),ax=read(),ay=read();
      |                       ~~~~^~
0_0_39878880_6408.cpp:6:6: note: declared here
    6 | void read(int &x){
      |      ^~~~
0_0_39878880_6408.cpp:59:33: error: 'y' was not declared in this scope
   59 |                 int ans=Query(x,y,ax,ay);
      |                                 ^
0_0_39878880_6408.cpp:59:35: error: 'ax' was not declared in this scope; did you mean 'x'?
   59 |                 int ans=Query(x,y,ax,ay);
      |                                   ^~
      |                                   x
0_0_39878880_6408.cpp:59:38: error: 'ay' was not declared in this scope
   59 |                 int ans=Query(x,y,ax,ay);
      |                                      ^~


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-01-10 03:13:18, Gzip enabled