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 listJan 19, 2024 11:45AnSaAnSaScore: 5,396Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 19, 2024 11:455,35836,247,74115,128,0002,017,0002,281,472
2Jan 19, 2024 11:455,36539,965,71416,158,0001,009,0002,400,256
3Jan 19, 2024 11:455,36742,977,60215,153,0002,020,0002,281,472
4Jan 19, 2024 11:455,36836,439,10715,158,0002,021,0002,396,160
5Jan 19, 2024 11:455,37334,336,68415,172,0002,023,0002,281,472
6Jan 19, 2024 11:455,39536,677,43916,248,0001,015,0002,281,472
7Jan 19, 2024 11:455,39639,065,06115,236,0002,031,0002,383,872
8Jan 19, 2024 11:455,40235,452,74316,271,0001,016,0002,281,472
9Jan 19, 2024 11:455,40632,905,94915,264,0002,035,0002,281,472
10Jan 19, 2024 11:455,58256,841,27617,863,93302,269,184
11Jan 19, 2024 11:455,58996,952,92817,885,25302,269,184
12Jan 19, 2024 11:455,59791,424,68917,909,43802,269,184