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 3, 2024 21:44джулисджулисScore: 5,393Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2024 21:445,34546,926,78015,093,0002,012,0002,277,376
2Aug 3, 2024 21:445,35946,362,08515,133,0002,017,0002,269,184
3Aug 3, 2024 21:445,37844,842,46215,187,0002,024,0002,289,664
4Aug 3, 2024 21:445,38643,028,10815,207,0002,027,0002,289,664
5Aug 3, 2024 21:445,38849,010,32116,228,0001,014,0002,289,664
6Aug 3, 2024 21:445,39233,276,32315,225,0002,030,0002,289,664
7Aug 3, 2024 21:445,39339,868,65515,229,0002,030,0002,289,664
8Aug 3, 2024 21:445,39645,467,66216,251,0001,015,0002,269,184
9Aug 3, 2024 21:445,43844,111,27316,378,0001,023,0002,289,664
10Aug 3, 2024 21:445,60398,935,92317,930,29402,301,952
11Aug 3, 2024 21:445,66583,310,12218,128,01202,306,048
12Aug 3, 2024 21:445,67885,416,94818,170,15102,297,856