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 18, 2024 19:25Robert BurkeRobert BurkeScore: 4,434Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 19:254,39137,623,93012,045,0002,007,0002,281,472
2Apr 18, 2024 19:254,40031,535,04812,070,0002,011,0002,281,472
3Apr 18, 2024 19:254,41231,337,15312,101,0002,016,0002,281,472
4Apr 18, 2024 19:254,41539,873,87112,110,0002,018,0002,281,472
5Apr 18, 2024 19:254,41743,643,24312,116,0002,019,0002,445,312
6Apr 18, 2024 19:254,41731,343,23412,116,0002,019,0002,281,472
7Apr 18, 2024 19:254,43434,688,54212,162,0002,027,0002,441,216
8Apr 18, 2024 19:254,43533,218,22612,164,0002,027,0002,535,424
9Apr 18, 2024 19:254,44135,864,64312,180,0002,030,0002,441,216
10Apr 18, 2024 19:254,71479,809,95615,083,53902,207,744
11Apr 18, 2024 19:254,71481,027,44015,086,28002,207,744
12Apr 18, 2024 19:254,73688,214,29415,155,53202,260,992