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 12, 2024 03:17Yuriy LyfenkoYuriy LyfenkoError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 03:1700000Error: expected "977900 ", got "977644 "
2Jun 12, 2024 03:174,603687,273,91714,728,16602,244,608
3Jun 12, 2024 03:174,632680,966,24014,821,77802,277,376
4Jun 12, 2024 03:174,635675,940,65414,831,26202,240,512