Giter VIP home page Giter VIP logo

csu_oj's Introduction

中南大学历年机试解答

使用语言:c++

试题

2013

回文串问题

水仙花数

安全密码

最少钱币数

惠民工程

2014

成绩转换

最大连续子序列

破译密码1

破译密码2

安全路径

平方和与立方和

2015

电子地图

容易的题

数字

奇怪的餐厅

防水堤坝

2016

序列求平均

加油站

堆石子

士兵排阵

士兵排阵2

第几天

2017

切木棍

淘金

机器人走迷宫

巨人排队

走路还是坐公交

2018

a+b问题

淘金

逃离迷宫

最短距离

2019

选球问题

爬楼梯游戏

小镇购物

模拟出入栈游戏

graph's connected components(弱化版)

TODO

小镇购物(空间超限)

小镇购物(时间超限%12)

graph's connected components(时间超限)

2019_summer

地砖问题

十六进制转换

最小花费

回文串

有序合并

2020_summer

最小价值和

最大容量和

最小特征值之和

缺失的彩虹

PIPI上学路

注意事项

  1. 算法格式错误可能是因为在有多个输出情况下,答案要求一一及时输出,而不是统一输出。见2014年破译密码1。

  2. 算法可能因为精度答案出错,如float与double;可能因为发生溢出而答案出错。

  3. memeset()是按字节赋值的,对于非字符类型的初始化:

    可以使用头文件中的fill函数直接进行数值填充。

int a[10];
memset(a, 0, sizeof(a)); // a[0] = 0x00000000
memset(a, 1, sizeof(a)); // a[0] = 0x01010101
memset(a, 127, sizeof(a)); // a[0] = 0x7f7f7f7f
memset(a, 255, sizeof(a)); // a[0] = 0xffffffff = -1

csu_oj's People

Contributors

joseph516 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

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.