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 listJan 3, 2023 22:09Jack FrigaardJack FrigaardScore: 4,738Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 22:094,71931,784,81614,096,0001,006,0002,289,664
2Jan 3, 2023 22:094,72131,761,19214,101,0001,007,0002,289,664
3Jan 3, 2023 22:094,72736,130,51414,118,0001,008,0002,289,664
4Jan 3, 2023 22:094,72939,198,04713,116,0002,017,0002,289,664
5Jan 3, 2023 22:094,73545,576,92813,131,0002,020,0002,289,664
6Jan 3, 2023 22:094,73533,073,59013,132,0002,020,0002,289,664
7Jan 3, 2023 22:094,73838,741,09213,141,0002,021,0002,289,664
8Jan 3, 2023 22:094,75037,590,03413,174,0002,026,0002,277,376
9Jan 3, 2023 22:094,75338,707,83913,183,0002,028,0002,273,280
10Jan 3, 2023 22:094,96675,099,05615,891,19602,301,952
11Jan 3, 2023 22:094,96790,212,12615,895,14302,297,856
12Jan 3, 2023 22:094,97490,440,24315,915,53802,301,952