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_39094631_29174.cpp: In function 'int main()':
0_0_39094631_29174.cpp:8:48: error: 'getchar_unlocked' was not declared in this scope; did you mean '_getchar_nolock'?
    8 |                 int n = 0; char C; while ((C = getchar_unlocked()) <= ' ');
      |                                                ^~~~~~~~~~~~~~~~
      |                                                _getchar_nolock
0_0_39094631_29174.cpp:9:43: error: 'getchar_unlocked' was not declared in this scope; did you mean '_getchar_nolock'?
    9 |                 str[n++] = C; while ((C = getchar_unlocked()) > ' ') str[n++] = C;
      |                                           ^~~~~~~~~~~~~~~~
      |                                           _getchar_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-11-29 15:08:04, Gzip enabled