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 listJan 23, 2024 16:11Gokberk YaltirakliGokberk YaltirakliScore: 5,754Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 23, 2024 16:115,72343,189,24516,279,0002,034,0002,269,184
2Jan 23, 2024 16:115,73041,711,81917,318,0001,018,0002,396,160
3Jan 23, 2024 16:115,73546,083,38016,312,0002,039,0002,265,088
4Jan 23, 2024 16:115,73844,768,35616,323,0002,040,0002,289,664
5Jan 23, 2024 16:115,74441,098,69316,339,0002,042,0002,289,664
6Jan 23, 2024 16:115,74639,839,34117,367,0001,021,0002,531,328
7Jan 23, 2024 16:115,75442,749,78517,390,0001,022,0002,531,328
8Jan 23, 2024 16:115,76744,955,29317,428,0001,025,0002,289,664
9Jan 23, 2024 16:115,76842,859,04218,458,00002,289,664
10Jan 23, 2024 16:115,81180,810,58218,596,26702,297,856
11Jan 23, 2024 16:115,96391,886,73119,082,29102,301,952
12Jan 23, 2024 16:115,97497,852,80219,116,94902,293,760