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:16Hal FHal FScore: 4,658Success
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:164,64641,151,25812,884,0001,982,0002,273,280
2Jan 3, 2023 21:164,64834,918,82512,890,0001,983,0002,289,664
3Jan 3, 2023 21:164,64940,945,37612,893,0001,983,0002,281,472
4Jan 3, 2023 21:164,65132,118,35212,898,0001,984,0002,273,280
5Jan 3, 2023 21:164,65544,855,15212,909,0001,986,0002,531,328
6Jan 3, 2023 21:164,65635,573,04813,905,000993,0002,277,376
7Jan 3, 2023 21:164,65838,444,98812,917,0001,987,0002,277,376
8Jan 3, 2023 21:164,65834,494,66113,913,000993,0002,277,376
9Jan 3, 2023 21:164,67236,335,45312,957,0001,993,0002,289,664
10Jan 3, 2023 21:164,86366,270,75715,560,53602,306,048
11Jan 3, 2023 21:164,87685,058,26115,602,34802,293,760
12Jan 3, 2023 21:164,91986,281,03415,741,23102,306,048