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 listAug 5, 2024 13:55Nao YonashiroNao YonashiroScore: 4,495Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 5, 2024 13:554,46834,426,01413,277,0001,021,0002,387,968
2Aug 5, 2024 13:554,47631,561,95414,322,00002,379,776
3Aug 5, 2024 13:554,47838,885,68413,305,0001,023,0002,527,232
4Aug 5, 2024 13:554,47934,118,26414,334,00002,392,064
5Aug 5, 2024 13:554,48334,878,57913,322,0001,024,0002,265,088
6Aug 5, 2024 13:554,49230,442,44114,373,00002,387,968
7Aug 5, 2024 13:554,49531,909,74214,383,00002,265,088
8Aug 5, 2024 13:554,52142,592,24313,433,0001,033,0002,392,064
9Aug 5, 2024 13:554,53630,545,32914,514,00002,383,872
10Aug 5, 2024 13:554,75875,320,43715,224,53102,285,568
11Aug 5, 2024 13:554,78654,422,74915,316,04102,289,664
12Aug 5, 2024 13:554,80389,658,38915,370,73502,289,664