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 22, 2022 10:01Eugene ZhydzetskiEugene ZhydzetskiScore: 5,986Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 22, 2022 10:015,97045,988,16518,100,0001,005,0002,334,720
2Aug 22, 2022 10:015,97248,664,84318,106,0001,005,0002,334,720
3Aug 22, 2022 10:015,97445,230,77617,104,0002,012,0002,535,424
4Aug 22, 2022 10:015,97742,813,23118,120,0001,006,0002,334,720
5Aug 22, 2022 10:015,98243,405,19718,135,0001,007,0002,334,720
6Aug 22, 2022 10:015,98347,786,74418,140,0001,007,0002,531,328
7Aug 22, 2022 10:015,98689,322,62819,156,25802,236,416
8Aug 22, 2022 10:015,99342,262,50718,170,0001,009,0002,334,720
9Aug 22, 2022 10:015,998108,320,42719,192,95402,244,608
10Aug 22, 2022 10:016,00340,457,87217,187,0002,022,0002,334,720
11Aug 22, 2022 10:016,02645,453,82918,269,0001,014,0002,334,720
12Aug 22, 2022 10:016,03488,454,62419,310,20102,236,416