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 04:49MylesMylesScore: 4,423Success
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 04:494,39629,409,80012,057,0002,009,0002,277,376
2Aug 3, 2024 04:494,41139,352,50512,098,0002,016,0002,449,408
3Aug 3, 2024 04:494,41135,010,32412,100,0002,016,0002,281,472
4Aug 3, 2024 04:494,41140,952,06512,100,0002,016,0002,281,472
5Aug 3, 2024 04:494,41342,520,86312,105,0002,017,0002,449,408
6Aug 3, 2024 04:494,41833,009,56612,118,0002,019,0002,281,472
7Aug 3, 2024 04:494,42326,349,01912,131,0002,021,0002,273,280
8Aug 3, 2024 04:494,43036,590,08712,150,0002,025,0002,449,408
9Aug 3, 2024 04:494,43033,626,05012,151,0002,025,0002,281,472
10Aug 3, 2024 04:494,69080,251,48015,009,53902,260,992
11Aug 3, 2024 04:494,69178,398,25715,010,35402,207,744
12Aug 3, 2024 04:494,69792,244,94815,030,98602,207,744