row_id
int64
0
48.4k
init_message
stringlengths
1
342k
conversation_hash
stringlengths
32
32
scores
dict
32,322
there are black object on white background. how to cut off every object and save it as a different image using python?
ad0bd6e94dde520026477ab4447e48f6
{ "intermediate": 0.3740924298763275, "beginner": 0.16055293381214142, "expert": 0.46535471081733704 }
32,323
i am making a c++ wxwidget project and I have a grid with the right click event already attached, I want to add an option to add a row as favourite, which means they will show on top and they won't get ordered if I apply a sort or filter, so they will remains on the top of the grid, how can I achieve this in an easy wa...
311192247a25143a9baffde4f7094eed
{ "intermediate": 0.6732746958732605, "beginner": 0.19106397032737732, "expert": 0.1356612890958786 }
32,324
How are you
abeb8a88668f06ff9dfbcda3d21adeca
{ "intermediate": 0.3805280923843384, "beginner": 0.31895896792411804, "expert": 0.30051299929618835 }
32,325
Перепиши код, чтобы предупреждения были в js и чтобы вылезало окно этих сообщений <?php require_once('db.php'); $login=$_POST['login']; $pass=$_POST['pass']; $repeatpass=$_POST['repeatpass']; $email=$_POST['email']; if (empty($login) || empty($pass) || empty($repeatpass) || empty($email)){ "Заполните все...
6f0f1bc2ffb5d97db87c914f2d097817
{ "intermediate": 0.37673109769821167, "beginner": 0.4366782307624817, "expert": 0.18659068644046783 }
32,326
public static String parseBattleModelInfo(BattleInfo battle, boolean spectatorMode) { JSONObject json = new JSONObject(); json.put("resources"); json.put("kick_period_ms", 10000); json.put("map_id", battle.map.id.replace(".xml", "")); json.put("invisible_time", 3500); json.put("skybo...
6ec0b6fc4a662b2532031cc50fa827de
{ "intermediate": 0.36116036772727966, "beginner": 0.3828077018260956, "expert": 0.25603187084198 }
32,327
ERROR: 'list' object cannot be interpreted as an integer; Traceback: File "/3divi/estimators/test_estimator.py", line 72, in estimator; result = solver.solve(image); File "/tmp/tmpqw0x919d/solver.py", line 11, in solve; result = self.alg.find_corners(image_gray); File "/tmp/tmpqw0x919d/corner_detector/corner_detector.p...
e415c777463a4605f1e6d7d846583472
{ "intermediate": 0.354604035615921, "beginner": 0.37641051411628723, "expert": 0.26898545026779175 }
32,328
import numpy as np from c_settings import ( ITERATIONS_NUM, IMAGE_THRESHOLD_MIN, IMAGE_THRESHOLD_MAX, NOISE_LESS, POTENTIAL_POINTS_NUM, THRESHOLD_DISTANCE, THRESHOLD_K, THRESHOLD_B ) from services.image_service import ImageService class CornerDetector(object): """Class for corner...
2fe86dbf2dafecbe690d338e783f0df2
{ "intermediate": 0.2713012993335724, "beginner": 0.48005691170692444, "expert": 0.2486417591571808 }
32,329
import numpy as np from c_settings import ( ITERATIONS_NUM, IMAGE_THRESHOLD_MIN, IMAGE_THRESHOLD_MAX, NOISE_LESS, POTENTIAL_POINTS_NUM, THRESHOLD_DISTANCE, THRESHOLD_K, THRESHOLD_B ) from services.image_service import ImageService class CornerDetector(object): """Class for corner...
d460610e957e32aa88d90abec996811d
{ "intermediate": 0.2713012993335724, "beginner": 0.48005691170692444, "expert": 0.2486417591571808 }
32,330
Review this function: fn move_pos(record: &BedRecord, pos: u32, dist: i32) -> i32 { let mut pos = pos; assert!(record.tx_start <= pos && pos <= record.tx_end); let mut exon: Option<i16> = None; for i in 0..record.exon_count { if in_exon(record, pos, i as usize) { exon = Some(i); ...
2b4b0e1fa934dd2fbcee0aa4819fe683
{ "intermediate": 0.29853925108909607, "beginner": 0.4344055950641632, "expert": 0.2670551538467407 }
32,331
package foleon.miningcore; import org.bukkit.Bukkit; import org.bukkit.Material; import org.bukkit.inventory.Inventory; import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.meta.ItemMeta; public class MenuManager { public static Inventory createMenu() { Inventory menu = Bukkit.createInvento...
1075694972bb6b376deda8abcbc4d57e
{ "intermediate": 0.3779190182685852, "beginner": 0.2718449831008911, "expert": 0.35023602843284607 }
32,332
package foleon.miningcore; import org.bukkit.Bukkit; import org.bukkit.Material; import org.bukkit.inventory.Inventory; import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.meta.ItemMeta; public class MenuManager { public static Inventory createMenu() { Inventory menu = Bukkit.createInvento...
47dcd983dd48fa4b3846b1d4e8d644fc
{ "intermediate": 0.3711472153663635, "beginner": 0.4335170090198517, "expert": 0.1953357607126236 }
32,333
package foleon.miningcore; import org.bukkit.Bukkit; import org.bukkit.Material; import org.bukkit.entity.Player; import org.bukkit.inventory.Inventory; import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.meta.ItemMeta; public class MenuManager { public static Inventory createMenu() { Inve...
b40a5ea0139bb7ce9b7f3378dfe0ff23
{ "intermediate": 0.2861773371696472, "beginner": 0.5177808403968811, "expert": 0.1960417628288269 }
32,334
package foleon.miningcore; import org.bukkit.Bukkit; import org.bukkit.Material; import org.bukkit.entity.Player; import org.bukkit.inventory.Inventory; import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.meta.ItemMeta; public class MenuManager { public static Inventory createMenu() { Inventory menu =...
40937fe01dac82cd165c70a66ee44ebc
{ "intermediate": 0.2686426043510437, "beginner": 0.44498783349990845, "expert": 0.28636956214904785 }
32,335
whats latesc mc
8037cb7661d99befb915dfab65ccc250
{ "intermediate": 0.32312431931495667, "beginner": 0.44163477420806885, "expert": 0.23524092137813568 }
32,336
package foleon.miningcore; import org.bukkit.Bukkit; import org.bukkit.Material; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.inventory.InventoryClickEvent; import org.bukkit.inventory.Inventory; import org.bukkit.inventory.ItemStack; ...
ed5e785a932fc92372ec719685b5fe7d
{ "intermediate": 0.3034631907939911, "beginner": 0.45122501254081726, "expert": 0.2453118860721588 }
32,337
document.querySelector("#topTD > div:nth-child(4) > h1").font-size = 50px; VM1305:1 Uncaught SyntaxError: Invalid left-hand side in assignment пытаюсь изменить цвет заголовка в редакторе кода в браузере, выдает ошибку
b1feaccbae89574941c279388ca8858c
{ "intermediate": 0.22807560861110687, "beginner": 0.5884748101234436, "expert": 0.1834496110677719 }
32,338
can you create a python code for object detection system using yolov5 model that detects from a camera source?
835858616107f3ba5acc0621a08f2388
{ "intermediate": 0.29248613119125366, "beginner": 0.06030360981822014, "expert": 0.6472102999687195 }
32,339
Переделай код, чтобы при вводе правильного логина и пароля пользователя переводило на страницу index.php document.addEventListener('DOMContentLoaded', function() { document.querySelector('form').addEventListener('submit', function(e) { e.preventDefault(); var login = document.getElementById('login').value; var passwor...
cd16def3f45c4c233c5e3d73f9b33570
{ "intermediate": 0.36222079396247864, "beginner": 0.37832745909690857, "expert": 0.2594517469406128 }
32,340
Сделай на js, чтобы когда пользователь ввёл правильный логин и пароль, его сразу бы перенаправило на страницу index.php <?php require_once('db.php'); $login=$_POST['login']; $pass=$_POST['pass']; if (empty($login) || empty($pass)) { "Заполните все поля"; } else { $sql = "SELECT * FROM `users` WHERE login = '$l...
4a1c909974afb94bba0b38d817dc23e6
{ "intermediate": 0.37233152985572815, "beginner": 0.43756604194641113, "expert": 0.1901024430990219 }
32,341
best 100% free text to video generators
872a7b958766b0b37592e90934a1e152
{ "intermediate": 0.3960147798061371, "beginner": 0.299181193113327, "expert": 0.3048039972782135 }
32,342
write .java code for aoh2 better combat system so if bigger army vs smaller then bigger army losses less
08ed4e022ea6b32ad2b2784db919db73
{ "intermediate": 0.41434890031814575, "beginner": 0.16006475687026978, "expert": 0.4255863130092621 }
32,343
add 25 more governments { Government: [ { Name: "Nominal Democracy", Extra_Tag: "", GOV_GROUP_ID: 0, ACCEPTABLE_TAXATION: 0.2, MIN_GOODS: 0.14, MIN_INVESTMENTS: 0.14, RESEARCH_COST: 1.0, INCOME_TAXATION: 1.0, INCOME_PRODUCTION: 1.0, MILITARY_UPKEEP: 1.0, ADMINISTRATION_COST: ...
b63b4597272d6969af9f2366655d7cbd
{ "intermediate": 0.3349548578262329, "beginner": 0.37850216031074524, "expert": 0.28654298186302185 }
32,344
toObject(spectator = false) { return { map_id: this.id, sound_id: this.sound, spectator: spectator, game_mode: this.game_mode, kick_period_ms: 300000, skybox_id: this.skybox_id, invisible_time: 3500, resources: }; } } exports.Map = Map; как сюда добавить mounted_turret, mounted_hull, mounted_paint из cons...
1b61710484edffecc130d2a5d937004c
{ "intermediate": 0.3561175465583801, "beginner": 0.44245511293411255, "expert": 0.2014273852109909 }
32,345
Write bootstrap code for navbar Upper navbar two selectors at top right lower navbar logo products claims contact us login button It should be mobile responsive
381aec4dd6779ed83d39c6b5f7733913
{ "intermediate": 0.43588611483573914, "beginner": 0.17750923335552216, "expert": 0.3866046071052551 }
32,346
File "<ipython-input-16-da465df87554>", line 12 plt.figure(figsize=(10, 6)) ^ IndentationError: expected an indented block after function definition on line 11
9faf006046906ad93d77339cee5e73b7
{ "intermediate": 0.3749421536922455, "beginner": 0.3820054829120636, "expert": 0.2430523782968521 }
32,347
ai generate using Linear Regression algorithm 6 main numbers and 5 lines with balanced selection of odd and even numbers, as well as a mix of low, mid, and high numbers main numbers 1 to 70 with one extra bonus number 1 to 25 with no duplicate bonus and main numbers on each line very important to exclude from main numb...
5d3602f91c26568836674d28d5bce804
{ "intermediate": 0.1357109695672989, "beginner": 0.060322754085063934, "expert": 0.8039662837982178 }
32,348
XImage *pWindowBuffer = XCreateImage(pDisplay, visual, 24, ZPixmap, 0, pPixels, width, height, 32, 0); XPutImage(pDisplay, window, gc, pWindowBuffer, 0, 0, 0, 0, width, height); pPixels is an array of width * height * 3 uint8_ts. But when the image is displayed, I get the wrong colors. It sort of looks weird, as if it'...
67af55cc4d5bb0c706abeef93fbec137
{ "intermediate": 0.4605601131916046, "beginner": 0.21451541781425476, "expert": 0.324924498796463 }
32,349
how whoosh library handles latex characters
c8ca015bef80e185f21baa64b4bb8a97
{ "intermediate": 0.7843217849731445, "beginner": 0.1271672248840332, "expert": 0.08851103484630585 }
32,350
Hi
5b8f2700936f1dbee61f12574d88297f
{ "intermediate": 0.33010533452033997, "beginner": 0.26984941959381104, "expert": 0.400045245885849 }
32,351
python code using BiLSTM encoder and BiLSTM decoder rnn and attention layer to translate English text to Arabic text using train, validate and test data from text files ,Tokenize the sentences and convert them into numerical representations ,Pad or truncate the sentences to a fixed length and use test data to evaluate ...
c4e479dc089e9f2c5daedb2ae44f50e9
{ "intermediate": 0.3748818337917328, "beginner": 0.09119625389575958, "expert": 0.5339218974113464 }
32,352
How do I color icons in layout?
0a5183f2812093568ce11f9cdcc3ad7e
{ "intermediate": 0.3658815920352936, "beginner": 0.355379581451416, "expert": 0.2787388861179352 }
32,353
напиши плагин на майнкрафт спигот 1.12.2, сделай чтобы создавался файл stats.yml в котором записывался бы каждый игрок и его количество strength, сделай чтобы базовое количество strength было 0, сделай чтобы за каждую 1 единицу стренжа у игрока повышался урон на 1% и скинь итоговый код со всеми классами.
b920d7714241600b53d9239f7859cce4
{ "intermediate": 0.3143532872200012, "beginner": 0.3134244680404663, "expert": 0.37222224473953247 }
32,354
import numpy as np from keras.models import Model from keras.layers import Input, LSTM, Bidirectional, Concatenate, Dot,Embedding,Activation,Dense from keras.preprocessing.text import Tokenizer from tensorflow.keras.preprocessing.sequence import pad_sequences # Define hyperparameters max_sequence_length = 100 embeddin...
44f65589cb95c287c638560ea367a235
{ "intermediate": 0.27769598364830017, "beginner": 0.3991117477416992, "expert": 0.3231922686100006 }
32,355
How can you write a java program to accept two user inputs
75593d5cb5d2648add1b909bad9aed81
{ "intermediate": 0.47428563237190247, "beginner": 0.17439575493335724, "expert": 0.3513186573982239 }
32,356
A ship leaves a port and sails 26 miles. Then the ship turns and travels another 62 miles due east. The angle between the ship’s path leaving the port and the line of sight from the port to the ship’s current location is 68 degrees. What is the distance, d,d, between the ship’s current location and the port? Round the ...
7854f083a232afb0f84aa98a32f8cf0c
{ "intermediate": 0.3716689646244049, "beginner": 0.29753053188323975, "expert": 0.33080047369003296 }
32,357
Examine the following two relations which are part of a database for a company selling horse accessories. Product Product No (PK) Description Price P001 Riding Hat £50 P002 Jodhpurs £20 P003 Back Support £60 P004 Riding Boots £100 P005 Jacket £150 Warehouse Warehouse No (PK) City Address W010 London 10 New Road W020...
dbffb109dbbef524687dac9fe19a01f6
{ "intermediate": 0.43948739767074585, "beginner": 0.22957926988601685, "expert": 0.3309333920478821 }
32,358
Give me an example of an RRN in javascript.
a2d1290d82f9f39e5b9b9f0f86363809
{ "intermediate": 0.23603542149066925, "beginner": 0.20981433987617493, "expert": 0.5541502833366394 }
32,359
def f_function(stream, key): string = permute(stream, E) for _ in string: string = np.logical_xor(stream, key)
8a3d50726b7f571d1e6c9dc2ed0b28e8
{ "intermediate": 0.25866788625717163, "beginner": 0.4828296899795532, "expert": 0.25850242376327515 }
32,360
ecrire un programme qui calcule la somme d'un tableau initialisée par l'utilisateur de taille 5
4a0988fac26fc3644413a6e5584c7b9c
{ "intermediate": 0.15427526831626892, "beginner": 0.056575093418359756, "expert": 0.7891496419906616 }
32,361
write a java program on a scientific calculator
11c19098f69b8ab6f87e2a39690f3eb2
{ "intermediate": 0.3186849355697632, "beginner": 0.3767813444137573, "expert": 0.3045337200164795 }
32,362
for some reason, it doesn't generate wall tiles? it's only floor tiles: extends TileMap # Initialize noise generators for different map features # Values between -1 and 1 var moisture = FastNoiseLite.new() var temperature = FastNoiseLite.new() var altitude = FastNoiseLite.new() # Dimensions of each generated chunk v...
fb1b0c42a0782dbedd89f47c3f41f565
{ "intermediate": 0.3055081367492676, "beginner": 0.3642495572566986, "expert": 0.33024224638938904 }
32,363
C# play sound
56adf892290c079c51a2c5ab7dd0c5cb
{ "intermediate": 0.40023958683013916, "beginner": 0.4543338119983673, "expert": 0.14542663097381592 }
32,364
import numpy as np from keras.models import Model from keras.layers import Input, LSTM, Bidirectional, Concatenate, Dot,Embedding,Activation,Dense from keras.preprocessing.text import Tokenizer from tensorflow.keras.preprocessing.sequence import pad_sequences # Define hyperparameters max_sequence_length = 100 embeddin...
b380518f93eade56cdbb0966efed2006
{ "intermediate": 0.29470062255859375, "beginner": 0.3753960430622101, "expert": 0.3299033045768738 }
32,365
C# soundplayer change volume
311099880d1b72b3812bcf2e77f52637
{ "intermediate": 0.378237783908844, "beginner": 0.3154025077819824, "expert": 0.3063597083091736 }
32,366
csr reply "Thank you for reach out to us! I apologize but we had a hard time tracking your order from the details you provided. We might need to have the last 4 digits of the card and what type of card was used" please enhance this but make it simple,short, and concise
e1f16c0ab6f6f2c80ddc99a0a2181391
{ "intermediate": 0.32384490966796875, "beginner": 0.29298117756843567, "expert": 0.38317394256591797 }
32,367
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Arrow : MonoBehaviour { void Start() { Invoke("Despawn", 3); } void Despawn() { Destroy(gameObject); } } make it so it does 1 damage to an enemy if it collides with it
79ba43191ac00d15a5593fade90515d6
{ "intermediate": 0.3426853120326996, "beginner": 0.5032713413238525, "expert": 0.1540432870388031 }
32,368
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BowAttack : MonoBehaviour { public float arrowSpeed = 1; public GameObject arrowPrefab; Rigidbody2D rigid; void Start() { rigid = GetComponent<Rigidbody2D>(); } void Update() { ...
c397954ad689e83742731db4cae3ddb1
{ "intermediate": 0.45203542709350586, "beginner": 0.3275100588798523, "expert": 0.22045446932315826 }
32,369
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Chest : MonoBehaviour { public float delayTime = 5f; public GameObject bowPrefab; private void OnTriggerEnter2D(Collider2D collision) { if (collision.CompareTag("Player")) { // Gener...
bee52c7374e2c6b8efd69b5752ead049
{ "intermediate": 0.4746066629886627, "beginner": 0.31191495060920715, "expert": 0.21347838640213013 }
32,370
Your computer might have been infected by a virus! Create a python function that finds the viruses in files and removes them from your computer. Examples remove_virus("PC Files: spotifysetup.exe, virus.exe, dog.jpg") ➞ "PC Files: spotifysetup.exe, dog.jpg" remove_virus("PC Files: antivirus.exe, cat.pdf, lethalmalware...
49abd0ec813edae1370cd0ffe12122fb
{ "intermediate": 0.3072793483734131, "beginner": 0.3511654734611511, "expert": 0.34155523777008057 }
32,371
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Chest : MonoBehaviour { public float delayTime = 5f; public GameObject bowPrefab; public GameObject healthPickupPrefab; private bool isBowSpawned = false; private void OnTriggerEnter2D(Collider2D collision...
60796cafb9a2529e3a22fbd6bb2a4b7e
{ "intermediate": 0.5397460460662842, "beginner": 0.2633788287639618, "expert": 0.19687505066394806 }
32,372
Hi
902a2a155ec405507764b43b76c4ea73
{ "intermediate": 0.33010533452033997, "beginner": 0.26984941959381104, "expert": 0.400045245885849 }
32,373
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Chest : MonoBehaviour { public float delayTime = 5f; public GameObject bowPrefab; public GameObject healthPickupPrefab; private bool isBowSpawned = false; bool isHealthPickupSpawned = false; private vo...
e6a779d61659ab9e00fca4570a52c23a
{ "intermediate": 0.31629031896591187, "beginner": 0.4791385531425476, "expert": 0.20457112789154053 }
32,374
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class Player : MonoBehaviour { public float speed = 5f; // Speed of character movement public int maxHealth = 3; // Maximum player health public int currentHealth; // Current player heal...
0be76e283146f175518fa993b665d1a6
{ "intermediate": 0.43714460730552673, "beginner": 0.3057388961315155, "expert": 0.25711652636528015 }
32,375
What is 3x+y=27?
3a5be32d5ce77ed99eb060eedb685c4c
{ "intermediate": 0.25922879576683044, "beginner": 0.2875294089317322, "expert": 0.4532417356967926 }
32,376
Создай класс в html: <input type="submit" name="search" class="btn btn-primary" value="Поиск">
5e4b53be85ea68f2b6491edaceb9d145
{ "intermediate": 0.2798740863800049, "beginner": 0.2893314063549042, "expert": 0.43079447746276855 }
32,377
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BossHealth : MonoBehaviour { public int maxHealth = 5; private int currentHealth; private void Start() { currentHealth = maxHealth; } public void TakeDamage(int damageAmount) { curr...
c8b2bfa8bea821ac4707fde4655f3a77
{ "intermediate": 0.382095605134964, "beginner": 0.39684534072875977, "expert": 0.22105903923511505 }
32,378
hi
11ba8ca18b5442e214c52754537e49a0
{ "intermediate": 0.3246487081050873, "beginner": 0.27135494351387024, "expert": 0.40399640798568726 }
32,379
explain why OSPF requires ‘designated routers’
ba1707281bdf4dde969130a80eccb1b2
{ "intermediate": 0.4727025628089905, "beginner": 0.2085961401462555, "expert": 0.31870126724243164 }
32,380
find the longest palindrome sequence using python
52c702109a31a7076ae9a07e03dbed12
{ "intermediate": 0.22822511196136475, "beginner": 0.1622800976037979, "expert": 0.6094948053359985 }
32,381
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Boss : MonoBehaviour { public float speed = 2f; public float chaseRange = 5f; private Transform player; private Vector2 targetPosition; private Rigidbody2D rb; private void Start() { rb = Ge...
c01083adeca9d7e547b433c68a9049cc
{ "intermediate": 0.4057077467441559, "beginner": 0.32648083567619324, "expert": 0.2678114175796509 }
32,382
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class Player : MonoBehaviour { public float speed = 5f; // Speed of character movement public int maxHealth = 3; // Maximum player health public int currentHealth; // Current player heal...
bb5bb855ff53b67925abda86de6af3a3
{ "intermediate": 0.290312260389328, "beginner": 0.4213525652885437, "expert": 0.2883351445198059 }
32,383
Check this function: fn build_gtf_line( record: &BedRecord, gene_name: &str, gene_type: &str, exon_start: u32, exon_end: u32, frame: u32, exon: i16, file: &mut File, ) { assert!(record.tx_start() < record.tx_end()); let phase = if frame < 0 { "." } else if frame == ...
357e5d40485df78ead6d6a4c7669d7ad
{ "intermediate": 0.4590393602848053, "beginner": 0.31552621722221375, "expert": 0.22543449699878693 }
32,384
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Boss : MonoBehaviour { public float speed = 2f; public float chaseRange = 5f; private Transform player; private Vector2 targetPosition; private Rigidbody2D rb; private void Start() { rb = Ge...
fea8da20f22713dddc15fc69e4583ba7
{ "intermediate": 0.48455101251602173, "beginner": 0.2761479616165161, "expert": 0.23930108547210693 }
32,385
Есть недописанная программа реализации АВЛ-дерева. Допиши её, при следующих условиях: при удалении элемента программа заменяет его на максимальный слева; обход справа налево; добавить в дерево элементы 9, 1, 2, 2, 0, 9, 0, 3, 0, 4 и вывести его. Вот программа: #include <iostream> using namespace std; struct Node { in...
3f58a92c1ebb6a0786d6bddd349763a9
{ "intermediate": 0.3230394124984741, "beginner": 0.5174763798713684, "expert": 0.15948423743247986 }
32,386
You are a Rust expert programmer. For your job interview you are asked this question: "The output of a complex algorithm produces a Vec<Vec<String>> with an estimated size of 10000 vectors. Since this process needs to be the fastest, implement the fastest and more efficient code to write all those vectors to a file.".
07158a39ba38ca5e30865880f3a53895
{ "intermediate": 0.17340117692947388, "beginner": 0.12927384674549103, "expert": 0.6973249912261963 }
32,387
Есть недописанная программа реализации АВЛ-дерева. Допиши её, при следующих условиях: при удалении элемента программа заменяет его на максимальный слева; обход справа налево; добавить в дерево элементы 9, 1, 2, 2, 0, 9, 0, 3, 0, 4 и вывести его. Вот программа: #include<iostream> using namespace std; struct Node { int ...
2e8d9db856f52863599fcc22af5b1393
{ "intermediate": 0.2973635792732239, "beginner": 0.4581441879272461, "expert": 0.24449224770069122 }
32,388
Есть недописанная программа реализации АВЛ-дерева. Допиши её, при следующих условиях: при удалении элемента программа заменяет его на максимальный слева; обход справа налево; добавить в дерево элементы 9, 1, 2, 2, 0, 9, 0, 3, 0, 4 и вывести его. Вот программа: #include using namespace std; struct Node { int key, count...
c289485fc32a6ed8be0cf8265d8e33e8
{ "intermediate": 0.33691924810409546, "beginner": 0.4169559180736542, "expert": 0.24612486362457275 }
32,389
Write a for loop statement C program that Validate the Goldbach conjecture: Any sufficiently large even number can be represented by the sum of two prime numbers. For example: 4 = 2 + 2, 6 = 3 + 3, 98 = 19 + 79
d2ae02b6d04790441e49ba1b043d0fb4
{ "intermediate": 0.18315604329109192, "beginner": 0.5486418604850769, "expert": 0.2682020962238312 }
32,390
how to website script download a generate video in steve.ai in chrome browser
40aaaab4ac7e29376c28f4090c4f978f
{ "intermediate": 0.31486746668815613, "beginner": 0.21742109954357147, "expert": 0.4677114486694336 }
32,391
What would be the fastest way to write a Vec<Vec<String>> to a file? You are free to use any algorithm, trick, unsafe code, parallelization, crate, etc
57f5728535232b1ba2f8e5b29625aec8
{ "intermediate": 0.5372718572616577, "beginner": 0.1160067617893219, "expert": 0.346721351146698 }
32,392
Write a simple for loop statement C program that Output the sum of all integers between 200 and 400, divisible by 3 and with a bit number of 7.
3a0b674d5d5766d1e31d6d94e71a08bf
{ "intermediate": 0.0976976603269577, "beginner": 0.7813236117362976, "expert": 0.12097872048616409 }
32,393
What would be the fastest way to write a Vec < Vec< String > > to a file? You are free to use any algorithm, trick, unsafe code, parallelization, crate, etc
860471923462924d23ce379193f152fd
{ "intermediate": 0.542588472366333, "beginner": 0.10325823724269867, "expert": 0.35415324568748474 }
32,394
how to find website script in chrome browser
23791fc5a8b43b8005eba783b95def80
{ "intermediate": 0.3270955979824066, "beginner": 0.4102259576320648, "expert": 0.2626783847808838 }
32,395
Есть недописанная программа реализации АВЛ-дерева. Допиши её, при следующих условиях: при удалении элемента программа заменяет его на максимальный слева; обход справа налево; добавить в дерево элементы 9, 1, 2, 2, 0, 9, 0, 3, 0, 4 и вывести его. Также всё комментируй. Вот программа: #include using namespace std; struc...
f83615faf52f82d52dd15825e93c76e2
{ "intermediate": 0.3024440407752991, "beginner": 0.46434903144836426, "expert": 0.23320689797401428 }
32,396
{formData.options.map((option, index) => ( <input key={index} name={option${index + 1}} id={option${index + 1}} type="text" value={option.description} onChange={(e) => handleOptionChange(e, index)} required /> ...
3263a223c1e8564338d21b9c9d8f47d4
{ "intermediate": 0.3678784966468811, "beginner": 0.29907453060150146, "expert": 0.33304697275161743 }
32,397
{formData.options.map((option, index) => ( <input key={index} name={option${index + 1}} id={option${index + 1}} type="text" value={option.description} onChange={(e) => handleOptionChange(e, index)} required /> ...
db142cfb377e0f51c11df244eae2fc3c
{ "intermediate": 0.37783753871917725, "beginner": 0.30243149399757385, "expert": 0.3197309076786041 }
32,398
Есть недописанная программа реализации АВЛ-дерева. Допиши её, при следующих условиях: при удалении элемента программа заменяет его на максимальный слева; обход справа налево; добавить в дерево элементы 9, 1, 2, 2, 0, 9, 0, 3, 0, 4 и вывести его. Также всё комментируй. Вот программа: #include using namespace std; struc...
0b9bd1e24ef08cb9e111ceb35c50f49f
{ "intermediate": 0.3024440407752991, "beginner": 0.46434903144836426, "expert": 0.23320689797401428 }
32,399
Now we need to know how the length of rental duration of these family-friendly movies compares to the duration that all movies are rented for. Can you provide a table with the movie titles and divide them into 4 levels (first_quarter, second_quarter, third_quarter, and final_quarter) based on the quartiles (25%, 50%, 7...
b9a0c49ca0353995838cf085838c322a
{ "intermediate": 0.4153730273246765, "beginner": 0.2669971287250519, "expert": 0.3176298439502716 }
32,400
import pandas as pd from sklearn.manifold import TSNE import matplotlib.pyplot as plt iris = sns.load_dataset(‘iris’) from sklearn.manifold import TSNE tsne = TSNE(n_components=2) tsne_result = tsne.fit_transform(X) tsne_df = pd.DataFrame(data=tsne_result, columns=['t-SNE component 1', 't-SNE component 2']) plt.sca...
1b011eab33c83069229120e063b7f907
{ "intermediate": 0.4121319055557251, "beginner": 0.288113534450531, "expert": 0.29975461959838867 }
32,401
fig, ax = plt.subplots() # You can modify the values as per your requirement cax = ax.imshow(cmap='coolwarm', vmin=-1, vmax=1) # Only show the values outside the range ax.set_xticks(np.arange(len(LB))) ax.set_yticks(np.arange(2*len(mode_list))) ax.set_xticklabels([r'$\rho_{st}$', r'$E_b$', r'$E_c$', r'$E_s$', r'$E_t$...
4213746cca4df3962c378c31cf1d1250
{ "intermediate": 0.4524705410003662, "beginner": 0.25018438696861267, "expert": 0.29734504222869873 }
32,402
write a javascript bot for bustabit that is counting the loses under 10x and after 20 loses under 10x bet 1 bit till 10x do that 6 times after that bet 10 bits till 10x and do that 4 times
c678d014cbcba8b37d92aed07ffab6b2
{ "intermediate": 0.2832990884780884, "beginner": 0.19098111987113953, "expert": 0.5257197618484497 }
32,403
I have just started creating a python module to load all the images in a path, do some basic processing, load a caption file if one exists(same filename but with the extension .txt or .caption instead, for example, "image205.png" would have a caption file "image205.txt" or "image205.caption", and done in a way to allow...
8914cea8a7f13ea7be712c9b7f223d8c
{ "intermediate": 0.5556792616844177, "beginner": 0.16684867441654205, "expert": 0.2774720788002014 }
32,404
Перепиши код umap_result = umap.UMAP(n_components=2).fit_transform(X) umap_df = pd.DataFrame(umap_result, columns=['UMAP component 1', 'UMAP component 2']) plt.scatter(umap_df['UMAP component 1'], umap_df['UMAP component 2']) plt.xlabel('UMAP Component 1') plt.ylabel('UMAP Component 2') plt.show() Что-бы было два гра...
01914c5de1154edc7b199cf07aadde74
{ "intermediate": 0.42045751214027405, "beginner": 0.27109217643737793, "expert": 0.30845028162002563 }
32,405
Для вот этого: k_values = [2, 3, 4, 5 ,6] for k in k_values: kmeans = KMeans(n_clusters=k, n_init=10) kmeans.fit(X) labels = kmeans.labels_ Сделай fig = plt.figure(figsize=(7, 8)) ax = plt.axes(projection=‘3d’) ax.set_xlabel(‘Petal Width’) ax.set_ylabel(‘Petal Length’) ax.set_zlabel(‘Sepal Width’) ax.scatter3D( iris...
02439a407870da5f553fe7abd27a9af4
{ "intermediate": 0.3851293921470642, "beginner": 0.27340102195739746, "expert": 0.34146955609321594 }
32,406
in python i have a matrix with dimension 800x14, of my parameters called LHS_matrix (14 input parameters, 800 samples) using latin hypercube sampling. i have a matrix Y, with dimension 800x14, containing 14 outputs for each sampling therefore 800. how to plot the spearman matrix?
7f5ecac27f844551f2755560e43ffa3d
{ "intermediate": 0.45332005620002747, "beginner": 0.20576049387454987, "expert": 0.34091946482658386 }
32,407
I need your help. This is my code: fn to_gtf( bedline: &BedRecord, isoforms: &HashMap<String, String>, track: &HashMap<String, String>, ) -> Vec<String> { let mut result: Vec<String> = Vec::new(); let gene = isoforms.get(&bedline.name).unwrap(); let fcodon = first_codon(bedline).unwrap(); l...
cae6ef8bf89c9eb60dd556d5d7e9d6b3
{ "intermediate": 0.4811726212501526, "beginner": 0.3629131317138672, "expert": 0.15591424703598022 }
32,408
In an earlier session you help implementing this code: isoforms_to_genes: &HashMap<String, String>, transcript_coordinates: &HashMap<String, (String, u32, u32, String)>, ) -> HashMap<String, (String, u32, u32, String)> { isoforms_to_genes .par_iter() .fold( || HashMap::new(), |mut acc: HashMap<String, (String, u32, u3...
5503d19314d0d67af5d577001098eb8c
{ "intermediate": 0.3909165859222412, "beginner": 0.3038693964481354, "expert": 0.3052140176296234 }
32,409
Есть программа реализации АВЛ-дерева. Нужно, чтобы при удалении элемента она меняла на максимальный слева. Вот программа: #include <iostream> using namespace std; struct Node { int key, count; Node* left; // указатель на левого потомка Node* right; // указатель на правого потомка int balance; }; void...
60ce564d65e390cf47370f029bebbf26
{ "intermediate": 0.3511388897895813, "beginner": 0.5253139138221741, "expert": 0.12354721128940582 }
32,410
<template> <section class="h-100 h-custom min-h-content" > <div class="container py-5 h-100"> <div class="row d-flex justify-content-center align-items-center h-100"> <div class="col"> <div class="card border-0"> <div class="card-body p-4"> <div class="row"> ...
2d164b0606b32d74c18fbdb2e92c3223
{ "intermediate": 0.329758882522583, "beginner": 0.6075674295425415, "expert": 0.0626736730337143 }
32,411
How to get all latex symbols with python
c5cbefaac7f2f6348e3ecfba56292817
{ "intermediate": 0.33369600772857666, "beginner": 0.2834489941596985, "expert": 0.38285499811172485 }
32,412
how to convert Arabic alphabets to its modern standard format using python code? example showed below Unicode Isolated Final (End) Medial (Middle) Initial (Beginning) 627 FE8D FE8E ا ﺍ ﺎ 628 FE8F FE90 FE92 FE91 ب ﺏ ﺐ ﺒ ﺑ 062A FE95 FE96 FE98 FE97 ت ﺕ ﺖ ﺘ ﺗ 062B FE99 FE9A FE9C FE9B ث ﺙ ﺚ ﺜ ﺛ 062C FE9D FE9E FEA0 FE9F...
ef0418e9f79e572088b7c9a1aefefe75
{ "intermediate": 0.3282982409000397, "beginner": 0.4458399713039398, "expert": 0.22586177289485931 }
32,413
I have this code: def signal_generator(df): if df is None or len(df) < 2: return '' signal = [] final_signal = [] exit = [] sell_result = 0.0 buy_result = 0.0 active_signal = None mark_price_data = client.ticker_price(symbol=symbol) mp = float(mark_price_data['price']...
1fe452da530ea15836d325f2e546d1db
{ "intermediate": 0.35536226630210876, "beginner": 0.3708707392215729, "expert": 0.2737669348716736 }
32,414
A data analyst wants to convert their R Markdown file into another format. What are their options? Select all that apply. HTML, PDF, and Word Slide presentation JPEG, PNG, and GIF Dashboard
bcfed6fe4cbf29aac575fc19d946336d
{ "intermediate": 0.3324187099933624, "beginner": 0.2739475965499878, "expert": 0.3936336934566498 }
32,415
Instead change the require of index.js in C:\xampp\htdocs\web\gulpfile.js to a dynamic import() which is available in all CommonJS modules
d08a64098148c79f96127ddab1af6cbf
{ "intermediate": 0.48922640085220337, "beginner": 0.2517930865287781, "expert": 0.25898048281669617 }
32,416
ai distribute the following numbers for me using Random Chaos Number Generator algorithm 5 numbers 1 2 3 4 5 6 7 9 11 12 13 14 15 16 18 19 20 21 22 23 24 25 26 27 28 31 32 33 34 35 36 37 39 40 42 till all are distributed no duplicate lines
85e55c2db70587b46af79b9c8e895353
{ "intermediate": 0.2576308846473694, "beginner": 0.1783575564622879, "expert": 0.5640115737915039 }
32,417
I used this code: depth_data = client.depth(symbol=symbol) bids = depth_data['bids'] bid_prices = [float(bid[0]) for bid in bids] asks = depth_data['asks'] ask_prices = [float(ask[0]) for ask in asks] You need to give me code which will return me highest price bid_price of all bids and most l...
95f556cc8c4e19c781531e1bedb00bc5
{ "intermediate": 0.4366626739501953, "beginner": 0.30273765325546265, "expert": 0.2605997323989868 }
32,418
## solver.py import numpy as np from corner_detector.corner_detector import CornerDetector class Solver(object): def __init__(self): self.alg = CornerDetector() def solve(self, image_gray: np.ndarray) -> np.ndarray: result = self.alg.find_corners(image_gray) return result ## corner_...
5b98d06a067d0d6bb4275e52099697fb
{ "intermediate": 0.30348730087280273, "beginner": 0.4526437819004059, "expert": 0.243868887424469 }
32,419
Реши задачу и напиши код на python и numpy, строящий решение методом конечных элементов. Область раздели на квадраты одинакового размера. Задача о граничном управлении в круге с дыркой Пусть $\vec{x}=\left(x_1, x_2\right) \in \mathbb{R}^2$, где $x_1, x_2$ - координаты точки в некоторой прямоугольной декартовой систе...
479da6288738563602f4c09d4be12e7c
{ "intermediate": 0.33770087361335754, "beginner": 0.4576137959957123, "expert": 0.20468537509441376 }
32,420
import numpy as np from c_settings import ( ITERATIONS_NUM, IMAGE_THRESHOLD_MIN, IMAGE_THRESHOLD_MAX, NOISE_LESS, POTENTIAL_POINTS_NUM, THRESHOLD_DISTANCE, THRESHOLD_K, THRESHOLD_B, TIME_MAX ) from services.image_service import ImageService from services.time_service import TimeServic...
c63d72d146926fe0879d29ef772e73f3
{ "intermediate": 0.3574940860271454, "beginner": 0.4044358730316162, "expert": 0.2380700409412384 }
32,421
import numpy as np from c_settings import ( ITERATIONS_NUM, IMAGE_THRESHOLD_MIN, IMAGE_THRESHOLD_MAX, NOISE_LESS, POTENTIAL_POINTS_NUM, THRESHOLD_DISTANCE, THRESHOLD_K, THRESHOLD_B, TIME_MAX ) from services.image_service import ImageService from services.time_service import TimeServic...
2b531aa6a6ecdbf868f5c0fa00bf857e
{ "intermediate": 0.25524914264678955, "beginner": 0.4547785520553589, "expert": 0.2899723947048187 }