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 listApr 18, 2024 19:22Robert BurkeRobert BurkeScore: 4,430Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 19:224,40534,873,15712,083,0002,013,0002,445,312
2Apr 18, 2024 19:224,40932,403,02712,094,0002,015,0002,441,216
3Apr 18, 2024 19:224,41138,526,04712,099,0002,016,0002,449,408
4Apr 18, 2024 19:224,41928,223,97713,054,0001,087,0002,281,472
5Apr 18, 2024 19:224,42231,846,51512,129,0002,021,0002,449,408
6Apr 18, 2024 19:224,43033,955,88412,151,0002,025,0002,441,216
7Apr 18, 2024 19:224,43034,890,29112,152,0002,025,0002,281,472
8Apr 18, 2024 19:224,44631,650,63512,194,0002,032,0002,449,408
9Apr 18, 2024 19:224,50129,455,81113,374,0001,028,0002,277,376
10Apr 18, 2024 19:224,68976,160,72015,005,60202,203,648
11Apr 18, 2024 19:224,71185,332,06015,074,38102,203,648
12Apr 18, 2024 19:224,71391,583,33515,082,86202,207,744