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 listFeb 27, 2023 19:07Andranik ChakiryanAndranik ChakiryanScore: 5,606Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 27, 2023 19:085,58234,950,12315,877,0001,984,0002,351,104
2Feb 27, 2023 19:075,58640,931,36115,890,0001,986,0002,342,912
3Feb 27, 2023 19:085,58742,471,49616,885,000993,0002,342,912
4Feb 27, 2023 19:085,58837,467,43116,888,000993,0002,355,200
5Feb 27, 2023 19:075,58841,903,44915,894,0001,986,0002,342,912
6Feb 27, 2023 19:085,58942,007,77315,899,0001,987,0002,342,912
7Feb 27, 2023 19:085,59037,309,22014,907,0002,981,0002,351,104
8Feb 27, 2023 19:075,59347,471,94016,903,000994,0002,351,104
9Feb 27, 2023 19:075,59646,674,31315,918,0001,989,0002,342,912
10Feb 27, 2023 19:075,59740,656,52215,921,0001,990,0002,433,024
11Feb 27, 2023 19:075,60350,381,04515,937,0001,992,0002,342,912
12Feb 27, 2023 19:085,60436,063,26814,945,0002,989,0002,338,816
13Feb 27, 2023 19:085,60647,110,61615,946,0001,993,0002,342,912
14Feb 27, 2023 19:075,61547,255,67916,971,000998,0002,351,104
15Feb 27, 2023 19:085,62047,716,53014,988,0002,997,0002,334,720
16Feb 27, 2023 19:075,62042,246,72114,986,0002,997,0002,342,912
17Feb 27, 2023 19:075,62443,023,56716,998,000999,0002,351,104
18Feb 27, 2023 19:075,62576,351,33217,999,69402,191,360
19Feb 27, 2023 19:085,64342,673,00116,051,0002,006,0002,342,912
20Feb 27, 2023 19:085,65097,224,60318,078,65302,179,072
21Feb 27, 2023 19:085,71080,513,93018,270,45402,187,264
22Feb 27, 2023 19:075,72682,455,47018,322,51502,179,072
23Feb 27, 2023 19:075,75092,029,53218,399,41502,187,264
24Feb 27, 2023 19:085,75286,430,38018,407,12302,195,456