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 29, 2024 18:10gviaugviauScore: 4,858Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 29, 2024 18:104,80839,432,56813,336,0002,051,0002,289,664
2Jul 29, 2024 18:104,80943,209,70014,363,0001,025,0002,277,376
3Jul 29, 2024 18:104,82731,010,92914,416,0001,029,0002,273,280
4Jul 29, 2024 18:104,83931,520,59514,452,0001,032,0002,289,664
5Jul 29, 2024 18:104,84235,766,39715,494,00002,289,664
6Jul 29, 2024 18:104,84333,117,09314,466,0001,033,0002,527,232
7Jul 29, 2024 18:104,85836,983,24314,508,0001,036,0002,531,328
8Jul 29, 2024 18:104,86231,541,80114,521,0001,037,0002,265,088
9Jul 29, 2024 18:104,86436,598,31414,528,0001,037,0002,289,664
10Jul 29, 2024 18:105,08174,082,79816,258,71302,252,800
11Jul 29, 2024 18:105,10080,783,59816,319,10602,297,856
12Jul 29, 2024 18:105,13385,516,78116,426,77302,174,976