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 02:02emily graceemily graceScore: 4,705Success
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 02:024,66534,420,30213,933,000995,0002,289,664
2Jul 24, 2024 02:024,68335,076,87612,988,0001,998,0002,289,664
3Jul 24, 2024 02:024,68536,691,01712,994,0001,999,0002,289,664
4Jul 24, 2024 02:024,68636,516,58212,996,0001,999,0002,289,664
5Jul 24, 2024 02:024,69333,832,89013,014,0002,002,0002,531,328
6Jul 24, 2024 02:024,69730,565,15013,026,0002,004,0002,289,664
7Jul 24, 2024 02:024,70532,201,07413,050,0002,007,0002,289,664
8Jul 24, 2024 02:024,71042,034,98513,063,0002,009,0002,289,664
9Jul 24, 2024 02:024,74030,945,88713,145,0002,022,0002,281,472
10Jul 24, 2024 02:024,93183,518,16015,778,49702,301,952
11Jul 24, 2024 02:024,94081,750,34715,808,48402,174,976
12Jul 24, 2024 02:024,95494,378,46515,852,25802,174,976