猫史档案馆


LWKevin0wvf小号

LWKevin0wvf小号

Lv.1

获赞:71收藏:0浏览:120作品收藏:1

签名:大号L.W.Kevin0wvf

回复帖子评论
上一页1 页 / 共 2下一页

谁招代码师? 中回复

https://box3.fun/e/92d3299b91e8c893bb75

2022-05-24T11:26:18 点赞:0

3个最佳、15个提名,和即将告一段落的神岛创作节 中回复

大力招收合作者,各位人才就来吧!大力招收合作者,各位人才就来吧!大力招收合作者,各位人才就来吧! 进入这个链接 https://box3.fun/e/92d3299b91e8c893bb75

2022-05-25T08:33:08 点赞:0

测测我的知名度】 中回复

-Infinity

负无限()()

2022-06-05T19:06:22 点赞:0

【民办活动】逻辑大冒险——第五期 中回复

center_image

《1970》...

2022-06-07T09:26:19 点赞:0

如何防止编程猫的动画乱码(仅限电脑浏览器用户) 中回复

2022-06-07T13:48:08 点赞:0

【Python作品分享】百变扇子【作品秀】 中回复

第三方?IDLE编译环境里面全有啊,第三方库大部分得用pip下载

2022-06-20T08:15:17 点赞:0

【神岛创作节】年度优秀地图召唤行动,比赛倒计时1天~ 中回复

创作节组队,地图https://box3.codemao.cn/e/38a9a822841885dd8696

2022-07-12T10:15:30 点赞:1

不用F12就可以的无字天书! 中回复

 

 

2022-08-08T15:06:23 点赞:0

不用F12就可以的无字天书! 中回复

 

 

2022-08-08T15:06:34 点赞:0

【小小的问题】(求助) 中回复

emmm··· 这个报错的信息看样子应该不是你给的那段代码中的问题,那个地图源代码的325行和408行有错误,很可能是world.onDie的问题,因为喵的不是玩家,所以没有entity.player.name这个参数,可以加一个判断

world.onDie(({原参数···})=>{/*本行可以不修改*/
    if (entity.isPlayer){
        /*world.onDie里的原代码*/
    }else{
        world.say(`${entity.id} 被 ${attacker.player.name} 击败了!`)
        entity.destroy() /*清除模型实体*/
        /* 其他操作··· */
    }
})

2022-08-15T15:09:01 点赞:1

灵魂大问答 中回复

11221122334411223344

2022-08-15T15:17:42 点赞:0

每日拍车(4 / 4) 中回复

列车驱动也就velocity和querySelectorAll标签,车内小的功能也不怎么难(也没太必要,做精细了也好),最主要的是模型和肝

2022-11-19T20:23:09 点赞:0

【整活:规则类怪谈】社区论坛怪谈 中回复

80.编程猫社区没有红色的创作按钮,如果发现,请立即关闭电脑。如果没能及时关闭电脑,一定不顾一切包括生命要去看第81条,否则会█████

2023-01-16T17:27:06 点赞:0

【整活:规则类怪谈】社区论坛怪谈 中回复

81.第80条永远不存在,请不要相信这一切

2023-01-16T17:27:31 点赞:0

【整活:规则类怪谈】社区论坛怪谈 中回复

13.这条重复了,请不要相信

2023-01-16T17:28:50 点赞:0

【整活:规则类怪谈】社区论坛怪谈 中回复

-1.如果当这些规则中的条件全部满足时,立刻关闭电脑,保证████████,努力使自己不要回想几秒前发生的事情,否则在几秒后会██████。

2023-01-16T17:30:51 点赞:0

【整活:规则类怪谈】社区论坛怪谈 中回复

-1.5.永远相信第-1条

2023-01-16T17:31:20 点赞:0

传送带的方块名称是什么 中回复

建筑里方块底下。。

2023-01-16T17:34:51 点赞:0

怎样把计时器从界面上弄出去!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 中回复

所以用手屑亿个只因时器是一个布戳的选折。

2023-01-16T22:14:51 点赞:0

敢不敢把你的昵称放到随机翻译器里翻译30次? 中回复

绝对恒定

2023-01-17T09:02:17 点赞:0

什么是az? 中回复

az

2023-01-17T10:31:36 点赞:0

【氵】期末成绩都出来了吧(晒晒你们的期末成绩) 中回复

数学:100

语文:100

英语:99

总分:299

平均分:99.6667

2024-01-22T16:00:52 点赞:0

随便做的C++代码模板,不喜勿喷 中回复

#include <iostream>
using namespace std;

int main()
{
	
    return 0;
}
#include <iostream>
#define int long long
using namespace std;

signed main()
{
    
    return 0;
}
#include <bits/stdc++.h>
using namespace std;

int main()
{
	
	return 0;
}
for (int i = 1; i <= n; i++) cout << a[i] << " ";
cout << endl;
for (int i = 1; i <= n; i++)
{
    for (int j = 1; j <= m; j++) cout << a[i][j] << " ";
    cout << endl;
}
for (int i = 1; i <= n; i++) cout << i << endl;
for (int i = n; i >= 1; i--) cout << i << endl;
for (int i = 1; i <= n; i++) cin >> a[i];
for (int i = 1; i <= n; i++) for (int j = 1; j <= m; j++) cin >> a[i][j];
for (int i = 1; i <= n; i++)
{
    if (condition) break;
    other programs
}
while (cin >> a[i]) i++;
while (i <= num) i++;
#include <iostream>
using namespace std;

int a[num];

int main()
{
    int n;
    cin >> n;
    for (int i = 1; i <= n; i++) cin >> a[i];
    for (int i = 1; i <= n; i++)
    {
        for (int j = 1; j <= i; j++) 
        {
            if (a[i] < a[j]) swap(a[i], a[j]);
        }
    }
    for (int i = 1; i <= n; i++) cout << a[i] << " ";
    cout << endl;
    return 0;
}

#include <iostream>
#include <algorithm>
using namespace std;

int a[num];

bool cmp(int x, int y)
{
    return x < y;
}

void selectionSort(int *first, int *last, bool (*comp)(int, int))
{
    for (int *i = first; i < last; i++)
    {
        for (int *j = first; j < i; j++) 
        {
            if (comp(*i, *j)) swap(*i, *j);
        }
    }
}

int main()
{
    int n;
    cin >> n;
    for (int i = 1; i <= n; i++) cin >> a[i];
    selectionSort(a + 1, a + n + 1, cmp);
    for (int i = 1; i <= n; i++) cout << a[i] << " ";
    cout << endl;
    return 0;
}
#include <iostream>
using namespace std;

int a[num];

int main()
{
    int n;
    cin >> n;
    for (int i = 1; i <= n; i++) cin >> a[i];
    for (int i = 1; i < n; i++)
    {
        for (int j = 1; j < n - i; j++) 
        {
            if (a[j + 1] < a[j]) swap(a[j], a[j + 1]);
        }
    }
    for (int i = 1; i <= n; i++) cout << a[i] << " ";
    cout << endl;
    return 0;
}
#include <iostream>
#include <algorithm>
using namespace std;

int a[num];

bool cmp(int x, int y)
{
    return x < y;
}

void bubbleSort(int *first, int *last, bool (*comp)(int, int))
{
    for (int *i = first, sub = 0; i < last - 1; i++, sub++)
    {
        for (int *j = first; j < last - sub - 1; j++) 
        {
            if (comp(*(j + 1), *j)) swap(*(j + 1), *j);
        }
    }
}

int main()
{
    int n;
    cin >> n;
    for (int i = 1; i <= n; i++) cin >> a[i];
    bubbleSort(a + 1, a + n + 1, cmp);
    for (int i = 1; i <= n; i++) cout << a[i] << " ";
    cout << endl;
    return 0;
}
#include <iostream>
using namespace std;

int a[num];

int main()
{
    int n;
    cin >> n;
    for (int i = 1; i <= n; i++) cin >> a[i];
    for (int i = 2; i <= n; i++)
    {
        int j = i, tmp = a[i];
        while (j && !(a[j - 1] < tmp))
        {
            a[j] = a[j - 1];
            j--;
        }
        a[j] = tmp;
    }
    for (int i = 1; i <= n; i++) cout << a[i] << " ";
    cout << endl;
    return 0;
}
#include <iostream>
using namespace std;

int a[num];

bool cmp(int x, int y)
{
    return x < y;
}

void insertionSort(int *first, int *last, bool (*comp)(int, int))
{
    for (int *i = first + 1; i < last; i++)
    {
        int *j = i, tmp = *i;
        while (!(*(j - 1) < tmp))
        {
            *j = *(j - 1);
            j--;
            if (j == first) break;
        }
        *j = tmp;
    }
}

int main()
{
    int n;
    cin >> n;
    for (int i = 1; i <= n; i++) cin >> a[i];
    insertionSort(a + 1, a + n + 1, cmp);
    for (int i = 1; i <= n; i++) cout << a[i] << " ";
    cout << endl;
    return 0;
}
#include <iostream>
using namespace std;

const int N = num;
int a[N], s[N];

int main()
{
    int n, q;
    cin >> n;
    //输入数组&求前缀和
    for (int i = 1; i <= n; i++)
    {
        cin >> a[i];
        s[i] = s[i - 1] + a[i];
    }
    //q次询问求区间和
    cin >> q;
    for (int i = 1; i <= q; i++)
    {
        int x, y;
        cin >> x >> y;
        cout << s[y] - s[x - 1] << endl;
    }
    return 0;
}

 

2024-03-23T17:19:49 点赞:0

工作室招生命体 中回复

GRW团队招生了!无论你是跑酷大神,生存大师,还是PVP大佬,又或是起床大佬,还是PVP大佬,又或是建筑大佬,还是PVP大佬,又或是红石大佬,还是什么都不知道的小白PVP大佬……(乱入)

2024-04-20T21:40:07 点赞:0

【新版怪物跟踪代码】加入射线检测,判断更加合理。 中回复

ddd

2024-05-07T18:41:26 点赞:0

【新版怪物跟踪代码】加入射线检测,判断更加合理。 中回复

opensource.org/license/mpl-2-0

2024-05-07T20:12:53 点赞:0

【新版怪物跟踪代码】加入射线检测,判断更加合理。 中回复

ddd

2024-05-08T18:07:54 点赞:0

【新版怪物跟踪代码】加入射线检测,判断更加合理。 中回复

ddd

2024-05-09T19:52:36 点赞:0

【新版怪物跟踪代码】加入射线检测,判断更加合理。 中回复

ddd

2024-05-09T20:03:44 点赞:0

【新版怪物跟踪代码】加入射线检测,判断更加合理。 中回复

更新的版本:shequ.cod喵/community/695045

2024-05-12T10:56:00 点赞:0