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 listAug 20, 2022 23:56Franek KortaFranek KortaScore: 5,414Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 20, 2022 23:565,35833,536,65216,137,0001,008,0002,441,216
2Aug 20, 2022 23:565,37033,515,18516,175,0001,010,0002,449,408
3Aug 20, 2022 23:565,37033,312,27012,131,0005,054,0002,269,184
4Aug 20, 2022 23:565,39439,877,85417,260,00002,531,328
5Aug 20, 2022 23:565,40034,497,69317,279,00002,445,312
6Aug 20, 2022 23:565,40439,851,12317,294,00002,445,312
7Aug 20, 2022 23:565,41450,418,92617,324,00002,445,312
8Aug 20, 2022 23:565,42933,698,11116,351,0001,021,0002,531,328
9Aug 20, 2022 23:565,43439,091,71817,389,00002,269,184
10Aug 20, 2022 23:565,64779,781,56818,068,94702,203,648
11Aug 20, 2022 23:565,66782,347,43918,133,96202,199,552
12Aug 20, 2022 23:565,69096,875,20518,207,51002,203,648