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 listDec 3, 2024 17:08MitchMitchScore: 2,768,925Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 3, 2024 17:082,766,0828,879,892,1948,818,477,00032,986,0002,277,376
2Dec 3, 2024 17:082,766,9188,880,644,1188,823,150,00030,986,0002,375,680
3Dec 3, 2024 17:082,767,6538,884,126,7188,823,504,00032,986,0002,285,568
4Dec 3, 2024 17:082,768,6578,891,186,9448,830,714,00028,989,0002,277,376
5Dec 3, 2024 17:082,768,9258,891,979,1578,835,573,00024,987,0002,277,376
6Dec 3, 2024 17:082,769,1468,891,974,0588,827,282,00033,985,0002,289,664
7Dec 3, 2024 17:082,770,5828,892,577,8098,826,875,00038,986,0002,285,568
8Dec 3, 2024 17:082,785,7248,941,512,6218,877,333,00036,984,0002,277,376
9Dec 3, 2024 17:082,806,3259,004,432,0878,941,261,00038,979,0002,277,376