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 02:42Joad NacerJoad NacerScore: 5,473Success
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 02:425,44338,970,99516,394,0001,024,0002,273,280
2Apr 17, 2024 02:425,45138,936,03716,417,0001,026,0002,273,280
3Apr 17, 2024 02:425,45731,747,79716,434,0001,027,0002,277,376
4Apr 17, 2024 02:425,46539,803,11916,459,0001,028,0002,273,280
5Apr 17, 2024 02:425,47035,573,13116,474,0001,029,0002,273,280
6Apr 17, 2024 02:425,47143,920,20716,479,0001,029,0002,289,664
7Apr 17, 2024 02:425,47344,588,29116,484,0001,030,0002,289,664
8Apr 17, 2024 02:425,49943,233,46616,561,0001,035,0002,289,664
9Apr 17, 2024 02:425,51137,526,39216,599,0001,037,0002,289,664
10Apr 17, 2024 02:425,68360,521,93518,184,59102,297,856
11Apr 17, 2024 02:425,69591,099,92018,224,62202,293,760
12Apr 17, 2024 02:425,70261,945,24218,247,92202,297,856