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_39681581_21184.cpp: In function 'int read()':
0_0_39681581_21184.cpp:15:29: error: 'getchar_unlocked' was not declared in this scope; did you mean '_getchar_nolock'?
   15 |         int x=0,f=1;char ch=getchar_unlocked();
      |                             ^~~~~~~~~~~~~~~~
      |                             _getchar_nolock
0_0_39681581_21184.cpp: In function 'void write(long long int)':
0_0_39681581_21184.cpp:22:21: error: 'putchar_unlocked' was not declared in this scope; did you mean '_putchar_nolock'?
   22 |         if(x<0)x=-x,putchar_unlocked('-');
      |                     ^~~~~~~~~~~~~~~~
      |                     _putchar_nolock
0_0_39681581_21184.cpp:24:9: error: 'putchar_unlocked' was not declared in this scope; did you mean '_putchar_nolock'?
   24 |         putchar_unlocked((x%10)|48);
      |         ^~~~~~~~~~~~~~~~
      |         _putchar_nolock


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-04 09:26:08, Gzip enabled