当前位置:网站首页>保姆级出题教程
保姆级出题教程
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
边栏推荐
- Why can't STM32 download the program
- 1. Mx6u learning notes (VII): bare metal development (4) -- master frequency and clock configuration
- 机器学习笔记-Week02-卷积神经网络
- 软件测试-面试题分享
- Use dapr to shorten software development cycle and improve production efficiency
- Test objects involved in safety test
- Ansible实战系列一 _ 入门
- AcWing 1294.樱花 题解
- [ahoi2009]chess Chinese chess - combination number optimization shape pressure DP
- Swagger、Yapi接口管理服务_SE
猜你喜欢

AcWing 242. A simple integer problem (tree array + difference)

Deoldify project problem - omp:error 15:initializing libiomp5md dll,but found libiomp5md. dll already initialized.
![[recommended by bloggers] C WinForm regularly sends email (with source code)](/img/5d/57f8599a4f02c569c6c3f4bcb8b739.png)
[recommended by bloggers] C WinForm regularly sends email (with source code)

Picture coloring project - deoldify

QT creator runs the Valgrind tool on external applications

【博主推荐】C#MVC列表实现增删改查导入导出曲线功能(附源码)

连接MySQL数据库出现错误:2059 - authentication plugin ‘caching_sha2_password‘的解决方法

图片上色项目 —— Deoldify

QT creator specifies dependencies

UDS learning notes on fault codes (0x19 and 0x14 services)
随机推荐
[number theory] divisor
L2-004 这是二叉搜索树吗? (25 分)
AcWing 242. A simple integer problem (tree array + difference)
Invalid default value for 'create appears when importing SQL_ Time 'error reporting solution
MySQL other hosts cannot connect to the local database
LeetCode #461 汉明距离
Dotnet replaces asp Net core's underlying communication is the IPC Library of named pipes
frp内网穿透那些事
CSDN markdown editor
QT creator test
机器学习--人口普查数据分析
Introduction and use of automatic machine learning framework (flaml, H2O)
Classes in C #
double转int精度丢失问题
[recommended by bloggers] C MVC list realizes the function of adding, deleting, modifying, checking, importing and exporting curves (with source code)
Error connecting to MySQL database: 2059 - authentication plugin 'caching_ sha2_ The solution of 'password'
AcWing 1294. Cherry Blossom explanation
NPM an error NPM err code enoent NPM err syscall open
The virtual machine Ping is connected to the host, and the host Ping is not connected to the virtual machine
Are you monitored by the company for sending resumes and logging in to job search websites? Deeply convinced that the product of "behavior awareness system ba" has not been retrieved on the official w