Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listJun 8, 2024 18:15AndreyTSAndreyTSScore: 5,703Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 18:155,66136,638,35016,102,0002,012,0002,273,280
2Jun 8, 2024 18:155,67039,151,21116,128,0002,016,0002,289,664
3Jun 8, 2024 18:155,67143,209,16116,130,0002,016,0002,289,664
4Jun 8, 2024 18:155,67634,760,57217,155,0001,009,0002,289,664
5Jun 8, 2024 18:155,68444,847,48616,168,0002,021,0002,277,376
6Jun 8, 2024 18:155,69842,457,49516,209,0002,026,0002,289,664
7Jun 8, 2024 18:155,70344,083,09416,223,0002,027,0002,289,664
8Jun 8, 2024 18:155,70535,308,76417,243,0001,014,0002,289,664
9Jun 8, 2024 18:155,72144,618,10317,289,0001,017,0002,273,280
10Jun 8, 2024 18:156,18089,517,46019,776,81202,174,976
11Jun 8, 2024 18:156,20597,739,66119,856,97602,170,880
12Jun 8, 2024 18:156,23589,898,30519,953,05302,297,856