当前位置:网站首页>保姆级出题教程
保姆级出题教程
2022-07-06 09:14:00 【%xiao Q】
因自带录屏有问题(不能分屏录制),特写博客补充内容,视频配博客,使用效果更佳
第一步
进入后台后,需要找到 Create Problem,然后点进去
第二步
然后回进入录题界面
这个是出题编号,一定要填,并且要按题库的顺序来,这里视频里也有讲
这是题目标题
这是题目描述
这是输入描述
这是输出描述
这是时间限制和内存限制还有难度,难度可以根据题目难度来给
这是语言选着,建议全选
这很重要,出什么类型的题,就给什么标签
后面的语言限制,也建议全选,这里需要特别注意一下,就是c 和 c ++得删除点东西,删除的和上面一致即可,不然做题时会报语法错误
这里就是上传测试点,格式为 zip
第三步
然后就是造测试点的问题了,这里可以运用c语言的文件读入和输出
// 样例生成
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include <time.h>
const int N = 1e9, M = 1e4;
int main()
{
FILE *fp;
fp = fopen("1.in", "w"); // 生成多个,每次只需改前缀即可
srand((unsigned)time(0));
// 中间就写你要生成的数据的代码
fclose(fp);
return 0;
}
// 将答案输出到文件中
#include <bits/stdc++.h>
using namespace std;
const int N = 1000010;
int a[N];
int main()
{
FILE *fp1, *fp2;
fp1 = fopen("2.in", "r");
fp2 = fopen("2.out", "w");
// 该问题的 Ac代码
// 从fp1读入,在吧把答案输出到fp2中,
fclose(fp1); fclose(fp2);
return 0;
}
写完这个代码以后,你只需改文件名即可,想造10个,就改10次,运行10次,就非常的快
第4步
最后会在文件夹中出现你生成的文件
然后将他们压缩正zip格式上传即可
最后不要忘记save
边栏推荐
- 学习问题1:127.0.0.1拒绝了我们的访问
- @Controller, @service, @repository, @component differences
- [AGC009D]Uninity
- Postman uses scripts to modify the values of environment variables
- A trip to Macao - > see the world from a non line city to Macao
- AcWing 242. A simple integer problem (tree array + difference)
- [recommended by bloggers] asp Net WebService background data API JSON (with source code)
- L2-007 家庭房产 (25 分)
- SSM integrated notes easy to understand version
- Did you forget to register or load this tag 报错解决方法
猜你喜欢
Cookie setting three-day secret free login (run tutorial)
图片上色项目 —— Deoldify
Windows cannot start the MySQL service (located on the local computer) error 1067 the process terminated unexpectedly
Software testing and quality learning notes 3 -- white box testing
Summary of numpy installation problems
MySQL master-slave replication, read-write separation
QT creator specify editor settings
软件测试与质量学习笔记3--白盒测试
Copie maître - esclave MySQL, séparation lecture - écriture
安装numpy问题总结
随机推荐
Deoldify项目问题——OMP:Error#15:Initializing libiomp5md.dll,but found libiomp5md.dll already initialized.
L2-001 紧急救援 (25 分)
【博主推荐】C#MVC列表实现增删改查导入导出曲线功能(附源码)
Postman uses scripts to modify the values of environment variables
Ansible实战系列二 _ Playbook入门
frp内网穿透那些事
QT creator support platform
【博主推荐】C#生成好看的二维码(附源码)
[蓝桥杯2017初赛]方格分割
Record a problem of raspberry pie DNS resolution failure
QT creator shape
MySQL completely uninstalled (windows, MAC, Linux)
JDBC principle
图像识别问题 — pytesseract.TesseractNotFoundError: tesseract is not installed or it‘s not in your path
How to set up voice recognition on the computer with shortcut keys
NPM an error NPM err code enoent NPM err syscall open
JDBC原理
Number game
学习问题1:127.0.0.1拒绝了我们的访问
One click extraction of tables in PDF