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 8, 2024 20:43AndreyTSAndreyTSScore: 5,938Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 20:435,89344,377,86616,874,0001,985,0002,289,664
2Jun 8, 2024 20:435,90198,111,59618,884,40602,174,976
3Jun 8, 2024 20:435,90347,293,98816,900,0001,988,0002,273,280
4Jun 8, 2024 20:435,91540,244,06616,937,0001,992,0002,400,256
5Jun 8, 2024 20:435,93148,685,69316,981,0001,997,0002,527,232
6Jun 8, 2024 20:435,93238,958,06317,982,000999,0002,289,664
7Jun 8, 2024 20:435,93837,755,71918,001,0001,000,0002,289,664
8Jun 8, 2024 20:435,93942,284,65717,005,0002,000,0002,289,664
9Jun 8, 2024 20:435,94545,576,15918,023,0001,001,0002,392,064
10Jun 8, 2024 20:435,94938,056,01317,033,0002,003,0002,289,664
11Jun 8, 2024 20:436,12476,274,95319,596,11502,306,048
12Jun 8, 2024 20:436,19283,406,27319,814,05802,301,952