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 listJan 22, 2024 11:26matsuoka-601matsuoka-601Score: 5,509Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 11:265,45937,355,73316,442,0001,027,0002,269,184
2Jan 22, 2024 11:265,47037,743,59917,504,00002,293,760
3Jan 22, 2024 11:265,47138,115,36217,507,00002,293,760
4Jan 22, 2024 11:265,49348,546,17316,544,0001,034,0002,531,328
5Jan 22, 2024 11:265,49647,839,96716,552,0001,034,0002,293,760
6Jan 22, 2024 11:265,49647,972,78216,552,0001,034,0002,281,472
7Jan 22, 2024 11:265,50947,166,98416,593,0001,037,0002,371,584
8Jan 22, 2024 11:265,52242,439,65617,669,00002,371,584
9Jan 22, 2024 11:265,53147,668,32816,659,0001,041,0002,269,184
10Jan 22, 2024 11:265,616101,693,23317,971,17802,301,952
11Jan 22, 2024 11:265,62753,346,82218,006,34602,301,952
12Jan 22, 2024 11:265,63691,845,20018,036,59102,174,976