Solutions are presented as using the least memory and the fastest execution time. It also takes the top 10 most recent solutions from each language. If you want to limit to a specific index, click the "Solved" button and go to that problem.
ContestId |
Name |
Phase |
Frozen |
Duration (Seconds) |
Relative Time |
Start Time |
|---|---|---|---|---|---|---|
| 2141 | Kotlin Heroes: Episode 13 | FINISHED | False | 9000 | 18717923 | Sept. 12, 2025, 2:35 p.m. |
Solved |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
|---|---|---|---|---|---|---|
| ( 1598 ) | A | Furniture Store | PROGRAMMING | *special implementation |
On the website of a company that manufactures and sells furniture, customers can order (n) different models of sofas, numbered from (1) to (n). Each sofa has a unique price; the price of the (i)-th sofa is denoted by (a_i). Every customer who visits the website has their own budget (m), which they are willing to spend on a sofa. When they look through the list of sofa models, they search for the first sofa that costs no more than (m) and orders it. If there are no such sofas, then the client leaves the website without ordering anything. The company aims to identify which sofas will never be ordered. Your task is to determine the models such that there is no such budget (m) that a customer will order this particular model. The first line contains a single integer (t) ((1 \le t \le 1000)) — the number of test cases. The first line of each test case contains a single integer (n) ((1 \le n \le 100)). The second line contains (n) distinct integers (a_1, a_2, \dots, a_n) ((1 \le a_i \le 100)). For each test case, provide the answer in this format: on the first line, print a single integer (k) — the number of models that cannot be ordered. On the second line, print exactly (k) integers in ascending order, representing the indices of the models that cannot be ordered. |
| Kotlin Heroes 13 Editorial |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 338231595 | MUI1344 | A | Sept. 12, 2025, 3:15 p.m. | OK | Kotlin 1.7 | TESTS | 4 | 233 | 6656000 | ||
| 338229605 | Oxitocina | A | Sept. 12, 2025, 3:04 p.m. | OK | Kotlin 1.7 | TESTS | 4 | 249 | 2252800 | ||
| 338225252 | omgajananwankar123 | A | Sept. 12, 2025, 2:42 p.m. | OK | Kotlin 1.7 | TESTS | 4 | 249 | 3174400 | ||
| 338229745 | dipanshu_raj | A | Sept. 12, 2025, 3:05 p.m. | OK | Kotlin 1.7 | TESTS | 4 | 249 | 8806400 | ||
| 338255265 | Irfan_207 | A | Sept. 12, 2025, 6:04 p.m. | OK | Kotlin 1.7 | TESTS | 4 | 249 | 10547200 | ||
| 338233229 | ER3N_Yager | A | Sept. 12, 2025, 3:25 p.m. | OK | Kotlin 1.7 | TESTS | 4 | 249 | 21196800 | ||
| 338227292 | Black_Ant | A | Sept. 12, 2025, 2:52 p.m. | OK | Kotlin 1.7 | TESTS | 4 | 250 | 1843200 | ||
| 338241055 | greeshma_maalees | A | Sept. 12, 2025, 4:14 p.m. | OK | Kotlin 1.7 | TESTS | 4 | 264 | 1638400 | ||
| 338255135 | Irfan_207 | A | Sept. 12, 2025, 6:03 p.m. | OK | Kotlin 1.7 | TESTS | 4 | 265 | 8089600 | ||
| 338241760 | KODA_JYOTHI | A | Sept. 12, 2025, 4:19 p.m. | OK | Kotlin 1.7 | TESTS | 4 | 265 | 8396800 | ||
| 338225243 | Intellegent | A | Sept. 12, 2025, 2:42 p.m. | OK | Kotlin 1.9 | TESTS | 4 | 139 | 0 | ||
| 338224420 | __jk__ | A | Sept. 12, 2025, 2:38 p.m. | OK | Kotlin 1.9 | TESTS | 4 | 140 | 0 | ||
| 338227495 | MagicalGirl | A | Sept. 12, 2025, 2:53 p.m. | OK | Kotlin 1.9 | TESTS | 4 | 156 | 0 | ||
| 338227253 | MDelPiero | A | Sept. 12, 2025, 2:52 p.m. | OK | Kotlin 1.9 | TESTS | 4 | 156 | 0 | ||
| 338234418 | Ahad | A | Sept. 12, 2025, 3:32 p.m. | OK | Kotlin 1.9 | TESTS | 4 | 171 | 102400 | ||
| 338280721 | Eye_of_God | A | Sept. 13, 2025, 12:08 a.m. | OK | Kotlin 1.9 | TESTS | 4 | 186 | 0 | ||
| 338231132 | jeel_lukhi300 | A | Sept. 12, 2025, 3:13 p.m. | OK | Kotlin 1.9 | TESTS | 4 | 186 | 102400 | ||
| 338225242 | gsaunders | A | Sept. 12, 2025, 2:42 p.m. | OK | Kotlin 1.9 | TESTS | 4 | 186 | 102400 | ||
| 338224486 | yudedako | A | Sept. 12, 2025, 2:38 p.m. | OK | Kotlin 1.9 | TESTS | 4 | 186 | 102400 | ||
| 338228581 | 000123 | A | Sept. 12, 2025, 2:59 p.m. | OK | Kotlin 1.9 | TESTS | 4 | 187 | 102400 | ||
| 338230334 | O3_Tester | A | Sept. 12, 2025, 3:08 p.m. | OK | Kotlin 2.2 | TESTS | 4 | 125 | 0 | ||
| 338232049 | suratpranav | A | Sept. 12, 2025, 3:18 p.m. | OK | Kotlin 2.2 | TESTS | 4 | 139 | 0 | ||
| 338224768 | Jlyfish | A | Sept. 12, 2025, 2:40 p.m. | OK | Kotlin 2.2 | TESTS | 4 | 139 | 0 | ||
| 338227014 | zabojeb | A | Sept. 12, 2025, 2:51 p.m. | OK | Kotlin 2.2 | TESTS | 4 | 140 | 0 | ||
| 338228186 | lto5 | A | Sept. 12, 2025, 2:57 p.m. | OK | Kotlin 2.2 | TESTS | 4 | 155 | 0 | ||
| 338228056 | vlthhiep08 | A | Sept. 12, 2025, 2:56 p.m. | OK | Kotlin 2.2 | TESTS | 4 | 155 | 0 | ||
| 338226990 | arnav1209 | A | Sept. 12, 2025, 2:50 p.m. | OK | Kotlin 2.2 | TESTS | 4 | 155 | 0 | ||
| 338226928 | malo223 | A | Sept. 12, 2025, 2:50 p.m. | OK | Kotlin 2.2 | TESTS | 4 | 155 | 0 | ||
| 338239388 | jagbarrameda | A | Sept. 12, 2025, 4:03 p.m. | OK | Kotlin 2.2 | TESTS | 4 | 155 | 102400 | ||
| 338232932 | Sigma10007 | A | Sept. 12, 2025, 3:23 p.m. | OK | Kotlin 2.2 | TESTS | 4 | 171 | 0 |
Back to search problems