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 listNov 26, 2024 10:21Dmitrii KravchenkoDmitrii KravchenkoScore: 4,736Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 26, 2024 10:214,71331,291,97414,076,0001,005,0002,277,376
2Nov 26, 2024 10:214,71536,279,30713,076,0002,011,0002,277,376
3Nov 26, 2024 10:214,71933,634,37813,089,0002,013,0002,273,280
4Nov 27, 2024 12:054,72230,229,48913,096,0002,014,0002,293,760
5Nov 26, 2024 10:214,72436,608,95213,103,0002,015,0002,289,664
6Nov 27, 2024 12:054,73139,203,16014,129,0001,009,0002,293,760
7Nov 26, 2024 10:214,73644,898,41713,136,0002,020,0002,293,760
8Nov 26, 2024 10:214,73936,842,44713,143,0002,022,0002,293,760
9Nov 27, 2024 12:054,74037,033,37813,145,0002,022,0002,277,376
10Nov 26, 2024 10:214,74136,246,49513,148,0002,022,0002,293,760
11Nov 26, 2024 10:214,74234,329,15513,152,0002,023,0002,293,760
12Nov 26, 2024 10:214,76240,391,95013,206,0002,031,0002,281,472