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 listAug 3, 2024 02:46mgildermgilderScore: 5,714Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2024 02:465,67849,604,98217,160,0001,009,0002,347,008
2Aug 3, 2024 02:465,68046,781,09417,166,0001,009,0002,347,008
3Aug 3, 2024 02:465,69044,693,49017,197,0001,011,0002,351,104
4Aug 3, 2024 02:465,69145,425,51716,189,0002,023,0002,527,232
5Aug 3, 2024 02:465,70445,068,18216,225,0002,028,0002,363,392
6Aug 3, 2024 02:465,71238,742,84117,263,0001,015,0002,527,232
7Aug 3, 2024 02:465,71442,432,10516,254,0002,031,0002,519,040
8Aug 3, 2024 02:465,71544,725,80217,272,0001,016,0002,396,160
9Aug 3, 2024 02:465,71936,085,14616,268,0002,033,0002,527,232
10Aug 3, 2024 02:465,95794,957,52219,063,38502,220,032
11Aug 3, 2024 02:465,97477,905,96619,116,07402,355,200
12Aug 3, 2024 02:465,98688,657,71519,156,18202,224,128