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 listMay 26, 2025 05:37E SequeiraE SequeiraError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 26, 2025 05:3600000Error: expected "975066 ", got "974954 "
2May 26, 2025 05:364,65334,119,76112,905,0001,985,0002,285,568
3May 26, 2025 05:374,65631,850,08512,914,0001,986,0002,269,184
4May 26, 2025 05:364,66347,590,72712,934,0001,989,0002,285,568
5May 26, 2025 05:364,66343,452,12412,934,0001,989,0002,285,568
6May 26, 2025 05:364,66331,790,46412,934,0001,989,0002,285,568
7May 26, 2025 05:364,67931,141,21612,976,0001,996,0002,285,568
8May 26, 2025 05:364,67932,432,62912,976,0001,996,0002,285,568
9May 26, 2025 05:374,68031,987,06913,978,000998,0002,285,568
10May 26, 2025 05:374,68232,125,77812,984,0001,997,0002,269,184
11May 26, 2025 05:364,68537,363,48412,994,0001,999,0002,285,568
12May 26, 2025 05:374,68735,393,30012,998,0001,999,0002,285,568
13May 26, 2025 05:374,68830,403,26713,000,0002,000,0002,260,992
14May 26, 2025 05:364,68939,340,49014,006,0001,000,0002,285,568
15May 26, 2025 05:364,69841,744,97513,031,0002,004,0002,285,568
16May 26, 2025 05:374,69832,656,35914,032,0001,002,0002,269,184
17May 26, 2025 05:374,71434,627,41214,080,0001,005,0002,285,568
18May 26, 2025 05:374,71632,577,02313,078,0002,012,0002,338,816
19May 26, 2025 05:374,76338,721,33113,209,0002,032,0002,265,088