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 listApr 17, 2024 21:18Joad NacerJoad NacerScore: 4,850Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 21:184,81738,259,45614,387,0001,027,0002,289,664
2Apr 17, 2024 21:184,83540,680,51314,440,0001,031,0002,269,184
3Apr 17, 2024 21:184,83532,841,27714,442,0001,031,0002,289,664
4Apr 17, 2024 21:184,83928,807,90714,454,0001,032,0002,269,184
5Apr 17, 2024 21:184,84031,750,88214,457,0001,032,0002,523,136
6Apr 17, 2024 21:184,84537,575,95914,470,0001,033,0002,289,664
7Apr 17, 2024 21:184,85031,803,83014,486,0001,034,0002,289,664
8Apr 17, 2024 21:184,85630,574,21114,503,0001,035,0002,289,664
9Apr 17, 2024 21:184,85846,899,22114,509,0001,036,0002,289,664
10Apr 17, 2024 21:185,07695,198,74016,244,62902,301,952
11Apr 17, 2024 21:185,08485,289,80916,268,81802,297,856
12Apr 17, 2024 21:185,09354,390,83816,297,54802,297,856