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 21, 2024 15:14Franek KortaFranek KortaScore: 4,650Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 21, 2024 15:144,59240,484,18814,694,00002,531,328
2Jan 21, 2024 15:144,59931,776,09414,716,00002,531,328
3Jan 21, 2024 15:144,60040,551,19914,721,00002,269,184
4Jan 21, 2024 15:144,60141,201,25314,723,00002,269,184
5Jan 21, 2024 15:144,60139,578,95914,724,00002,531,328
6Jan 21, 2024 15:144,60232,978,49114,727,00002,531,328
7Jan 21, 2024 15:144,60328,942,60713,676,0001,052,0002,269,184
8Jan 21, 2024 15:144,60530,871,17114,735,00002,269,184
9Jan 21, 2024 15:144,60629,536,48313,688,0001,052,0002,531,328
10Jan 21, 2024 15:144,64629,753,12813,876,000991,0002,531,328
11Jan 21, 2024 15:144,64733,749,81213,880,000991,0002,269,184
12Jan 21, 2024 15:144,65038,473,62413,888,000992,0002,531,328
13Jan 21, 2024 15:144,65036,810,25713,888,000992,0002,441,216
14Jan 21, 2024 15:144,65244,517,72813,893,000992,0002,531,328
15Jan 21, 2024 15:144,65243,526,35613,894,000992,0002,269,184
16Jan 21, 2024 15:144,65346,361,63013,898,000992,0002,531,328
17Jan 21, 2024 15:144,65442,176,15113,900,000992,0002,531,328
18Jan 21, 2024 15:144,65730,420,45914,903,00002,445,312
19Jan 21, 2024 15:144,86182,835,55215,554,98102,191,360
20Jan 21, 2024 15:144,86382,428,10415,563,07302,248,704
21Jan 21, 2024 15:144,87270,369,04315,589,87202,195,456
22Jan 21, 2024 15:144,87562,094,29415,600,29702,191,360
23Jan 21, 2024 15:144,88988,490,36415,644,78502,195,456
24Jan 21, 2024 15:144,89383,070,89315,657,93602,195,456