当前位置:网站首页>保姆级出题教程
保姆级出题教程
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
边栏推荐
- Ansible practical Series III_ Task common commands
- Install mongdb tutorial and redis tutorial under Windows
- The virtual machine Ping is connected to the host, and the host Ping is not connected to the virtual machine
- Codeforces Round #753 (Div. 3)
- 图像识别问题 — pytesseract.TesseractNotFoundError: tesseract is not installed or it‘s not in your path
- 图片上色项目 —— Deoldify
- [Thesis Writing] how to write function description of jsp online examination system
- What does usart1 mean
- Ansible practical Series II_ Getting started with Playbook
- Remember a company interview question: merge ordered arrays
猜你喜欢
[recommended by bloggers] asp Net WebService background data API JSON (with source code)
In the era of DFI dividends, can TGP become a new benchmark for future DFI?
Error connecting to MySQL database: 2059 - authentication plugin 'caching_ sha2_ The solution of 'password'
Windows cannot start the MySQL service (located on the local computer) error 1067 the process terminated unexpectedly
Knowledge Q & A based on Apache Jena
How to build a new project for keil5mdk (with super detailed drawings)
Detailed reading of stereo r-cnn paper -- Experiment: detailed explanation and result analysis
[recommended by bloggers] C WinForm regularly sends email (with source code)
Unable to call numpy in pycharm, with an error modulenotfounderror: no module named 'numpy‘
La table d'exportation Navicat génère un fichier PDM
随机推荐
机器学习笔记-Week02-卷积神经网络
Machine learning -- census data analysis
软件测试-面试题分享
安全测试涉及的测试对象
UDS learning notes on fault codes (0x19 and 0x14 services)
QT creator shape
Dotnet replaces asp Net core's underlying communication is the IPC Library of named pipes
QT creator support platform
Image recognition - pyteseract TesseractNotFoundError: tesseract is not installed or it‘s not in your path
MySQL master-slave replication, read-write separation
AcWing 1298. Solution to Cao Chong's pig raising problem
Deoldify项目问题——OMP:Error#15:Initializing libiomp5md.dll,but found libiomp5md.dll already initialized.
Principes JDBC
Database advanced learning notes -- SQL statement
How to build a new project for keil5mdk (with super detailed drawings)
Postman uses scripts to modify the values of environment variables
Some problems in the development of unity3d upgraded 2020 VR
Asp access Shaoxing tourism graduation design website
AcWing 1294. Cherry Blossom explanation
frp内网穿透那些事