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 24, 2024 03:26Drew GarciaDrew GarciaScore: 5,313Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 24, 2024 03:265,27646,251,67514,898,0001,986,0002,281,472
2Jul 24, 2024 03:265,28240,238,37415,907,000994,0002,281,472
3Jul 24, 2024 03:265,29340,311,67214,947,0001,992,0002,408,448
4Jul 24, 2024 03:265,29739,249,65415,952,000997,0002,523,136
5Jul 24, 2024 03:265,30133,023,13814,969,0001,995,0002,396,160
6Jul 24, 2024 03:265,30346,902,72815,972,000998,0002,281,472
7Jul 24, 2024 03:265,31341,880,45516,003,0001,000,0002,281,472
8Jul 24, 2024 03:265,34337,551,78116,094,0001,005,0002,404,352
9Jul 24, 2024 03:265,34641,967,93115,094,0002,012,0002,281,472
10Jul 24, 2024 03:265,54887,969,21917,754,69202,297,856
11Jul 24, 2024 03:265,55286,282,82917,767,24102,310,144
12Jul 24, 2024 03:265,58087,638,57017,855,04202,297,856