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_39070444_32641.cpp: In function 'int main()':
0_0_39070444_32641.cpp:160:5: error: 'int32_t' was not declared in this scope
  160 |     int32_t n, m, c, a, b = 0;
      |     ^~~~~~~
0_0_39070444_32641.cpp:8:1: note: 'int32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
    7 | #include <cmath>
  +++ |+#include <cstdint>
    8 | #include <limits>
0_0_39070444_32641.cpp:161:28: error: 'n' was not declared in this scope
  161 |     while (~scanf("%d%d", &n, &m))
      |                            ^
0_0_39070444_32641.cpp:161:32: error: 'm' was not declared in this scope; did you mean 'tm'?
  161 |     while (~scanf("%d%d", &n, &m))
      |                                ^
      |                                tm
0_0_39070444_32641.cpp:170:28: error: 'a' was not declared in this scope
  170 |             scanf("%d%d", &a, &b);
      |                            ^
0_0_39070444_32641.cpp:170:32: error: 'b' was not declared in this scope
  170 |             scanf("%d%d", &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-23 04:33:16, Gzip enabled