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 listApr 6, 2025 13:24Chandrasekaran AkashChandrasekaran AkashScore: 4,461Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 6, 2025 13:214,38038,466,59413,015,0001,001,0002,277,376
2Apr 6, 2025 13:214,38233,375,69913,021,0001,001,0002,277,376
3Apr 6, 2025 13:214,39826,833,77012,062,0002,010,0002,531,328
4Apr 6, 2025 13:234,41329,954,63413,115,0001,008,0002,502,656
5Apr 6, 2025 13:234,42938,741,64413,160,0001,012,0002,506,752
6Apr 6, 2025 13:234,44029,784,15412,179,0002,029,0002,277,376
7Apr 6, 2025 13:234,46129,391,42914,275,00002,506,752
8Apr 6, 2025 13:234,46129,161,41713,256,0001,019,0002,506,752
9Apr 6, 2025 13:234,46333,129,14914,283,00002,502,656
10Apr 6, 2025 13:244,46438,077,71513,266,0001,020,0002,506,752
11Apr 6, 2025 13:244,46929,255,72214,302,00002,506,752
12Apr 6, 2025 13:244,48931,582,46214,364,00002,277,376