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 listApr 5, 2024 00:08Christopher TarryChristopher TarryScore: 5,525Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 5, 2024 00:085,46038,176,56416,446,0001,027,0002,265,088
2Apr 5, 2024 00:085,48941,961,40716,531,0001,033,0002,392,064
3Apr 5, 2024 00:085,49442,136,62916,546,0001,034,0002,265,088
4Apr 5, 2024 00:085,49542,917,25517,584,00002,265,088
5Apr 5, 2024 00:085,51247,817,45616,600,0001,037,0002,265,088
6Apr 5, 2024 00:085,52343,664,82916,634,0001,039,0002,392,064
7Apr 5, 2024 00:085,52543,318,62217,679,00002,523,136
8Apr 5, 2024 00:085,52634,059,74317,682,00002,506,752
9Apr 5, 2024 00:085,54334,723,05916,696,0001,043,0002,387,968
10Apr 5, 2024 00:085,68894,639,98918,202,13602,289,664
11Apr 5, 2024 00:085,72866,880,69918,330,44402,281,472
12Apr 5, 2024 00:085,75489,749,33618,413,16302,289,664