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 28, 2024 09:20BenBenScore: 5,714Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 09:205,65844,622,00816,095,0002,011,0002,383,872
2Jul 28, 2024 09:205,67742,516,23116,147,0002,018,0002,265,088
3Jul 28, 2024 09:205,69346,902,14717,204,0001,012,0002,387,968
4Jul 28, 2024 09:205,70146,702,33017,230,0001,013,0002,265,088
5Jul 28, 2024 09:205,70334,499,82016,223,0002,027,0002,379,776
6Jul 28, 2024 09:205,71034,688,66816,241,0002,030,0002,387,968
7Jul 28, 2024 09:205,71441,701,53117,271,0001,015,0002,265,088
8Jul 28, 2024 09:205,72644,381,95418,322,00002,387,968
9Jul 28, 2024 09:205,73739,076,95317,338,0001,019,0002,265,088
10Jul 28, 2024 09:205,91897,782,69418,937,89202,281,472
11Jul 28, 2024 09:205,92395,662,83318,953,42602,289,664
12Jul 28, 2024 09:205,96188,526,76119,076,22802,281,472