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 listJul 20, 2024 12:43Matt StuchlikMatt StuchlikScore: 4,676Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 20, 2024 12:434,65232,716,81612,901,0001,984,0002,285,568
2Jul 20, 2024 12:434,65231,998,04412,902,0001,985,0002,273,280
3Jul 20, 2024 12:434,66433,289,33712,935,0001,990,0002,289,664
4Jul 20, 2024 12:434,67041,414,02912,953,0001,992,0002,289,664
5Jul 20, 2024 12:434,67130,793,54813,950,000996,0002,269,184
6Jul 20, 2024 12:434,67532,565,92212,966,0001,994,0002,289,664
7Jul 20, 2024 12:434,67632,510,06712,969,0001,995,0002,269,184
8Jul 20, 2024 12:434,67731,553,57312,970,0001,995,0002,289,664
9Jul 20, 2024 12:434,68037,271,82613,977,000998,0002,277,376
10Jul 20, 2024 12:434,94291,954,69115,815,54302,285,568
11Jul 20, 2024 12:434,94790,834,63215,829,59402,297,856
12Jul 20, 2024 12:434,95785,404,27615,862,43002,289,664