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_39428648_15469.cpp: In function 'void solution()':
0_0_39428648_15469.cpp:6:5: error: 'll' was not declared in this scope
    6 |     ll a = 0, b = 0;
      |     ^~
0_0_39428648_15469.cpp:7:7: error: expected ';' before 'x'
    7 |     ll x, y;
      |       ^~
      |       ;
0_0_39428648_15469.cpp:11:28: error: 'x' was not declared in this scope
   11 |         scanf("%lld%lld", &x, &y);
      |                            ^
0_0_39428648_15469.cpp:11:32: error: 'y' was not declared in this scope
   11 |         scanf("%lld%lld", &x, &y);
      |                                ^
0_0_39428648_15469.cpp:19:13: error: 'a' was not declared in this scope
   19 |             a += y -1;//¼ò»¯³É1*n»òÕßn*1
      |             ^
0_0_39428648_15469.cpp:21:13: error: 'b' was not declared in this scope
   21 |             b += x - 1;
      |             ^
0_0_39428648_15469.cpp:23:12: error: 'b' was not declared in this scope
   23 |     if(a < b)
      |            ^
0_0_39428648_15469.cpp:23:8: error: 'a' was not declared in this scope
   23 |     if(a < b)
      |        ^


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-22 22:04:54, Gzip enabled