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 10, 2023 19:29Giga BowserGiga BowserScore: 5,517Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 10, 2023 19:295,48133,597,91716,508,0001,031,0002,289,664
2Jul 10, 2023 19:295,48849,480,15817,560,00002,289,664
3Jul 10, 2023 19:295,49840,467,53816,558,0001,034,0002,289,664
4Jul 10, 2023 19:295,51035,245,75516,594,0001,037,0002,289,664
5Jul 10, 2023 19:295,51241,393,59917,637,00002,289,664
6Jul 10, 2023 19:295,51336,206,52216,605,0001,037,0002,289,664
7Jul 10, 2023 19:295,51744,310,74216,617,0001,038,0002,289,664
8Jul 10, 2023 19:295,51840,184,50316,618,0001,038,0002,269,184
9Jul 10, 2023 19:295,54345,900,02316,694,0001,043,0002,273,280
10Jul 10, 2023 19:295,69480,939,76718,220,08202,252,800
11Jul 10, 2023 19:295,72588,487,34218,320,23402,301,952
12Jul 10, 2023 19:295,73873,929,39218,360,71002,174,976