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 20, 2022 13:02Eugene ZhydzetskiEugene ZhydzetskiScore: 5,998Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 20, 2022 13:025,93650,108,47717,995,000999,0002,535,424
2Aug 20, 2022 13:025,94243,801,99718,015,0001,000,0002,334,720
3Aug 20, 2022 13:025,94546,808,38217,022,0002,002,0002,334,720
4Aug 20, 2022 13:025,96647,093,74716,970,0002,121,0002,285,568
5Aug 20, 2022 13:025,98543,897,71917,136,0002,016,0002,535,424
6Aug 20, 2022 13:025,98643,874,03617,027,0002,128,0002,379,776
7Aug 20, 2022 13:025,99837,359,15218,185,0001,010,0002,281,472
8Aug 20, 2022 13:026,00084,076,24719,201,19202,256,896
9Aug 20, 2022 13:026,00641,162,11718,209,0001,011,0002,535,424
10Aug 20, 2022 13:026,01337,860,41217,217,0002,025,0002,334,720
11Aug 20, 2022 13:026,09189,694,33719,491,31702,240,512
12Aug 20, 2022 13:026,15090,133,52519,679,31902,240,512