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 listNov 6, 2024 01:07Sergey SpiridonovSergey SpiridonovScore: 14,407Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 6, 2024 01:0714,24877,335,68918,237,00027,356,0002,289,664
2Nov 6, 2024 01:0714,33870,703,11619,949,00025,934,0002,293,760
3Nov 6, 2024 01:0714,39372,258,26117,021,00029,036,0002,289,664
4Nov 6, 2024 01:0714,40573,277,60217,036,00029,061,0002,281,472
5Nov 6, 2024 01:0714,40771,448,69718,040,00028,062,0002,289,664
6Nov 6, 2024 01:0714,41273,499,09516,041,00030,078,0002,289,664
7Nov 6, 2024 01:0714,53469,233,57116,177,00030,333,0002,289,664
8Nov 6, 2024 01:0714,54068,124,18915,172,00031,357,0002,289,664
9Nov 6, 2024 01:0714,54369,241,20916,186,00030,350,0002,289,664