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 listJun 2, 2024 09:16matsuoka-601matsuoka-601Score: 4,817Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2024 09:164,77831,055,55813,253,0002,038,0002,277,376
2Jun 2, 2024 09:164,79337,886,04514,316,0001,022,0002,293,760
3Jun 2, 2024 09:164,79331,298,39614,317,0001,022,0002,293,760
4Jun 2, 2024 09:164,79835,720,76014,331,0001,023,0002,293,760
5Jun 2, 2024 09:164,80038,379,72014,336,0001,024,0002,293,760
6Jun 2, 2024 09:164,80339,161,09913,320,0002,049,0002,293,760
7Jun 2, 2024 09:164,80329,213,46414,347,0001,024,0002,379,776
8Jun 2, 2024 09:164,80537,602,42615,375,00002,293,760
9Jun 2, 2024 09:164,80745,094,28314,356,0001,025,0002,293,760
10Jun 2, 2024 09:164,81236,607,27815,399,00002,293,760
11Jun 2, 2024 09:164,81333,873,80814,375,0001,026,0002,293,760
12Jun 2, 2024 09:164,81539,902,28114,381,0001,027,0002,269,184
13Jun 2, 2024 09:164,81736,679,44615,415,00002,293,760
14Jun 2, 2024 09:164,81834,535,81314,389,0001,027,0002,383,872
15Jun 2, 2024 09:164,82432,684,77315,436,00002,289,664
16Jun 2, 2024 09:164,82436,770,33314,409,0001,029,0002,273,280
17Jun 2, 2024 09:164,83632,538,03315,474,00002,277,376
18Jun 2, 2024 09:164,86239,569,88514,521,0001,037,0002,531,328
19Jun 2, 2024 09:165,03094,544,69516,095,97002,183,168
20Jun 2, 2024 09:165,07188,155,96316,226,82802,297,856
21Jun 2, 2024 09:165,07495,392,57016,238,02702,183,168
22Jun 2, 2024 09:165,08460,702,11316,269,62502,306,048
23Jun 2, 2024 09:165,10494,466,72016,333,13502,306,048
24Jun 2, 2024 09:165,10973,202,10116,347,45202,301,952