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 13, 2024 12:55AndreyTSAndreyTSScore: 5,512Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2024 12:555,47740,013,67716,495,0001,030,0002,289,664
2Jun 13, 2024 12:555,48434,307,96016,518,0001,032,0002,273,280
3Jun 13, 2024 12:555,48535,205,47017,553,00002,289,664
4Jun 13, 2024 12:555,49234,502,51316,541,0001,033,0002,289,664
5Jun 13, 2024 12:555,49438,751,79016,547,0001,034,0002,273,280
6Jun 13, 2024 12:555,50444,357,98616,576,0001,036,0002,289,664
7Jun 13, 2024 12:555,51246,663,51117,637,00002,269,184
8Jun 13, 2024 12:555,51331,881,34116,603,0001,037,0002,387,968
9Jun 13, 2024 12:555,51846,755,38816,621,0001,038,0002,273,280
10Jun 13, 2024 12:555,69990,190,06618,238,12102,179,072
11Jun 13, 2024 12:555,70186,336,79218,244,15702,174,976
12Jun 13, 2024 12:555,72671,363,55518,323,94202,301,952