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 00:18Joad NacerJoad NacerScore: 5,656Success
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 00:185,58146,417,37616,868,000992,0002,265,088
2Apr 17, 2024 00:185,59944,047,95816,921,000995,0002,269,184
3Apr 17, 2024 00:185,61240,264,58415,963,0001,995,0002,355,200
4Apr 17, 2024 00:185,61739,240,34015,976,0001,997,0002,289,664
5Apr 17, 2024 00:185,64837,987,72216,067,0002,008,0002,289,664
6Apr 17, 2024 00:185,65045,591,67717,077,0001,004,0002,289,664
7Apr 17, 2024 00:185,65644,896,40416,089,0002,011,0002,367,488
8Apr 17, 2024 00:185,65742,656,12316,090,0002,011,0002,277,376
9Apr 17, 2024 00:185,65837,986,81917,099,0001,005,0002,269,184
10Apr 17, 2024 00:185,72957,898,86518,334,29302,301,952
11Apr 17, 2024 00:185,74274,558,11418,374,32502,179,072
12Apr 17, 2024 00:185,74295,369,24918,375,83302,301,952