Code Monkey home page Code Monkey logo

outofmemory's Introduction

最短代码 OOM 大赛!

61HSF0(A7FUWL%2HHKQW WB_tmb

比赛规则

  • 使用最短的代码占满内存!考虑大家设备各不相同,为方便比赛计量,实际占用 4G 及以上的内存即可
  • 要求在不使用断点等调试手段的情况下,使用 任务管理器 / htop / top 等第三方主流工具 截图 并上传
    即要占用一定的时间,申请内存后立刻进程结束这种无法截图的不行
  • 计分规则为:代码字符数量 乘 字符种类。最小者获胜!
  • 对于类似 Matlab 等解释器本身占用极大的语言,实际占用需减去解释器本身占用
  • 不准联网;不准通过环境变量、文件名、编译参数等耍赖;不准使用专门为本次比赛设计的编程语言、操作系统、API 等。总之不准卡 bug,主办方享有比赛规则解释权(

参赛方式

  • 每个人新建一个文件夹,在里面放上你的代码、截图、README 等,并通过 Pull Request 提交
    请组织内成员不要直接 push,这样的没法计分,给我老老实实用 PR!
  • 比赛使用 GitHub Action 自动生成排名,参赛者无需再手动修改
  • 可以使用 python3 .github/scoring.py <file> 来给自己算一下分(

排名

Rank Player File Length Category Score
1 Moeweb647252 oom.bat 5 3 15
2 wanz oom.py 9 3 27
3 dragove oom.py 9 5 45
4 HisAtri new.py 10 5 50
5 horror-proton oom.sh 10 8 80
6 Cherry-mma main.wl 10 9 90
7 lovemilk oom.rb 14 9 126
8 Rear_Sagittar fuckwin.ps1 13 12 156
9 Zhilu simple-oom.js 17 13 221
10 yusuixian main.cpp 26 17 442
11 mr_cino oom.wo 26 17 442
12 Cherry main.c 27 18 486
13 bakashigure oom.lua 26 19 494
14 RaySky_Rt oom.cpp 26 19 494
15 lianhong main.go 43 24 1032
16 Ns2Kracy main.go 46 27 1242
17 wzyisyyds rust.rs 48 27 1296

奖品

  • 第一名:一箱难喝的黑咖啡。由 @MistEO 赞助!
  • 最佳创意奖:10 美元 苹果 或 Google Play 礼品卡。由 @守夜人 赞助!

欢迎老板们赞助更多奖品~

时间

2024/02/09 ~ 2024/02/12 大年初三 晚上(北京时间)

就是现在!

讨论

欢迎加入 QQ 群 (672372860), Telegram 群 ,或通过 issue, discussions 讨论!

outofmemory's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.