내 소식

Rein [1446392] · MS 2026 · 쪽지

2026-02-19 23:28:55
조회수 96

암산 1등 찍는 법...

게시글 주소: https://orbi.kr/00077651101

내가 판도라의 상자를 열어버린겨

rare-Tombow

0 XDK (+0)

  1. 유익한 글을 읽었다면 작성자에게 XDK를 선물하세요.

  • LimbDarkening · 1450455 · 10시간 전 · MS 2026

    아니근데 치는것보다 빠른 사람이 있음

  • Rein · 1446392 · 10시간 전 · MS 2026

    자동화 만들러간다

  • LimbDarkening · 1450455 · 10시간 전 · MS 2026

    (function() {
    let delay = 150;
    const ui = document.createElement('div');
    ui.style = 'position:fixed;top:10px;right:10px;z-index:9999;background:rgba(0,0,0,0.8);padding:10px;border-radius:8px;color:#fff;font-family:sans-serif;font-size:12px;';
    ui.innerHTML = `
    DELAY: 150ms

    `;
    document.body.appendChild(ui);

    const spd = ui.querySelector('#spd');
    const val = ui.querySelector('#val');
    spd.oninput = () => { delay = spd.value; val.innerText = delay; };

    const solve = () => {
    const p = document.querySelector('.problem'), i = document.querySelector('.answer');
    if (!p || !i || i.value !== "") return;
    const n = p.innerText.match(/\d+/g);
    if (!n || n.length < 2) return;
    const a = parseInt(n[0]), b = parseInt(n[1]), t = p.innerText;
    let r;
    if (t.includes('+')) r = a + b;
    else if (t.includes('–') || t.includes('-')) r = a - b;
    else if (t.includes('×') || t.includes('*')) r = a * b;
    else if (t.includes('÷') || t.includes('/')) r = (a / b) | 0;
    if (r !== undefined) {
    i.value = r;
    setTimeout(() => i.dispatchEvent(new Event('input', {bubbles:true})), delay);
    }
    };
    setInterval(solve, 10);
    })();

  • LimbDarkening · 1450455 · 10시간 전 · MS 2026

    들여쓰기는 gpt한테 해달라고 하셈

  • Rein · 1446392 · 10시간 전 · MS 2026

  • LimbDarkening · 1450455 · 10시간 전 · MS 2026

    바부