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 listJun 19, 2023 22:16Ulyanov AlekseyUlyanov AlekseyScore: 5,497Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 19, 2023 22:135,45746,859,43016,436,0001,027,0002,273,280
2Jun 19, 2023 22:165,45846,741,97616,438,0001,027,0002,523,136
3Jun 19, 2023 22:135,46344,785,12916,455,0001,028,0002,269,184
4Jun 19, 2023 22:135,46540,751,61416,459,0001,028,0002,289,664
5Jun 19, 2023 22:135,46741,374,76616,465,0001,029,0002,289,664
6Jun 19, 2023 22:165,47149,240,20817,507,00002,289,664
7Jun 19, 2023 22:165,48334,415,04616,514,0001,032,0002,289,664
8Jun 19, 2023 22:165,48438,910,15616,516,0001,032,0002,277,376
9Jun 19, 2023 22:135,48536,965,32717,551,00002,269,184
10Jun 19, 2023 22:165,49337,928,81516,544,0001,034,0002,277,376
11Jun 19, 2023 22:165,49642,905,48316,552,0001,034,0002,289,664
12Jun 19, 2023 22:165,49643,844,75217,588,00002,289,664
13Jun 19, 2023 22:135,49738,327,82816,556,0001,034,0002,273,280
14Jun 19, 2023 22:165,49843,276,25316,559,0001,034,0002,289,664
15Jun 19, 2023 22:135,49950,153,88117,596,00002,281,472
16Jun 19, 2023 22:135,51545,384,52416,611,0001,038,0002,289,664
17Jun 19, 2023 22:165,52848,386,56216,650,0001,040,0002,289,664
18Jun 19, 2023 22:135,58844,914,67015,894,0001,986,0002,531,328
19Jun 19, 2023 22:135,65570,207,29418,096,37802,297,856
20Jun 19, 2023 22:135,65890,454,91618,104,89202,174,976
21Jun 19, 2023 22:165,68385,997,29318,185,41702,293,760
22Jun 19, 2023 22:165,68967,791,04618,206,09002,297,856
23Jun 19, 2023 22:165,69987,841,60618,237,70202,293,760
24Jun 19, 2023 22:135,70777,867,23318,263,33902,297,856