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 listMar 16, 2023 01:02Alexander MonakovAlexander MonakovScore: 5,278Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 16, 2023 01:025,26334,080,77915,851,000990,0002,281,472
2Mar 16, 2023 01:025,26741,108,82914,872,0001,983,0002,453,504
3Mar 16, 2023 01:025,27142,707,94115,876,000992,0002,453,504
4Mar 16, 2023 01:025,27339,946,64815,881,000992,0002,457,600
5Mar 16, 2023 01:025,27332,226,47514,889,0001,985,0002,281,472
6Mar 16, 2023 01:025,27336,256,70914,889,0001,985,0002,453,504
7Mar 16, 2023 01:025,27831,945,76114,903,0001,987,0002,281,472
8Mar 16, 2023 01:025,28437,534,19614,921,0001,989,0002,277,376
9Mar 16, 2023 01:025,29842,761,89014,958,0001,994,0002,453,504
10Mar 16, 2023 01:025,42282,612,09317,349,16202,203,648
11Mar 16, 2023 01:025,43864,045,69217,403,05902,203,648
12Mar 16, 2023 01:025,44390,120,19017,416,57902,224,128