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 3, 2023 21:17Hal FHal FScore: 4,696Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 21:174,67334,627,76212,961,0001,994,0002,289,664
2Jan 3, 2023 21:174,68133,237,42112,981,0001,997,0002,269,184
3Jan 3, 2023 21:174,68244,743,67712,985,0001,997,0002,289,664
4Jan 3, 2023 21:174,68336,374,87312,987,0001,998,0002,531,328
5Jan 3, 2023 21:174,68337,749,49812,989,0001,998,0002,281,472
6Jan 3, 2023 21:174,69336,920,55013,015,0002,002,0002,273,280
7Jan 3, 2023 21:174,69632,954,04913,023,0002,003,0002,289,664
8Jan 3, 2023 21:174,70036,310,90913,035,0002,005,0002,265,088
9Jan 3, 2023 21:174,70332,515,61013,042,0002,006,0002,531,328
10Jan 3, 2023 21:175,05876,055,66316,185,32802,301,952
11Jan 3, 2023 21:175,06289,027,72716,199,60202,260,992
12Jan 3, 2023 21:175,11894,104,46416,377,88302,293,760