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 listJul 8, 2023 09:34Andrew MoonAndrew MoonScore: 5,504Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2023 09:345,47334,727,37417,512,00002,273,280
2Jul 8, 2023 09:345,47742,269,81816,496,0001,031,0002,289,664
3Jul 8, 2023 09:345,48441,312,58416,517,0001,032,0002,273,280
4Jul 8, 2023 09:345,48539,623,94617,552,00002,277,376
5Jul 8, 2023 09:345,48839,444,36716,530,0001,033,0002,289,664
6Jul 8, 2023 09:345,49436,667,93316,546,0001,034,0002,269,184
7Jul 8, 2023 09:345,50447,052,87616,577,0001,036,0002,289,664
8Jul 8, 2023 09:345,50842,258,10517,624,00002,289,664
9Jul 8, 2023 09:345,52438,169,08116,639,0001,039,0002,289,664
10Jul 8, 2023 09:345,65764,816,51618,101,05002,297,856
11Jul 8, 2023 09:345,65881,733,54918,104,77002,301,952
12Jul 8, 2023 09:345,67297,486,96318,151,63302,301,952