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:57Franek KortaFranek KortaScore: 5,602Success
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:575,58449,533,54615,884,0001,985,0002,441,216
2Aug 20, 2022 23:575,58642,747,39116,824,0001,051,0002,265,088
3Aug 20, 2022 23:575,58847,259,85216,890,000993,0002,449,408
4Aug 20, 2022 23:575,58950,028,79815,897,0001,987,0002,269,184
5Aug 20, 2022 23:575,59840,051,25616,917,000995,0002,449,408
6Aug 20, 2022 23:575,59841,039,17117,914,00002,265,088
7Aug 20, 2022 23:575,60242,661,60015,935,0001,991,0002,441,216
8Aug 20, 2022 23:575,60836,535,28916,948,000996,0002,269,184
9Aug 20, 2022 23:575,60946,174,29516,953,000997,0002,441,216
10Aug 20, 2022 23:576,02292,637,67319,269,59102,203,648
11Aug 20, 2022 23:576,03291,039,25619,302,74202,195,456
12Aug 20, 2022 23:576,07069,085,32019,422,46802,195,456