CF1885A.Deterministic Scheduling for Extended Reality over 5G and Beyond
普及/提高-
通过率:0%
AC君温馨提醒
该题目为【codeforces】题库的题目,您提交的代码将被提交至codeforces进行远程评测,并由ACGO抓取测评结果后进行展示。由于远程测评的测评机由其他平台提供,我们无法保证该服务的稳定性,若提交后无反应,请等待一段时间后再进行重试。
题目描述
The input of a single test has (4+R⋅K⋅T+N⋅R⋅K+1+J) lines, which contains user number N , cell number K , TTI number T , RBG number R , initial SINRs s0,rnt(k) , interference factors dmrn , frame number J and information about J frames.
The details are as follows:
- Line 1 : User number N , integer, 1≤N≤100 . Users are numbered from 0 to N−1 .
- Line 2 : Cell number K , integer, 1≤K≤10 . Cells are numbered from 0 to K−1 .
- Line 3 : TTI number T , integer, 1≤T≤1000 . TTIs are numbered from 0 to T−1 .
- Line 4 : RBG number R , integer, 1≤R≤10 . RBGs are numbered from 0 to R−1 .
- Line 5 to (4+R⋅K⋅T) : Initial SINRs s0,rnt(k) , float, 0<s0,rnt(k)<10000 . Each line has N elements, corresponding to N users. s0,rnt(k) is the (n+1) -th element of line (5+r+k⋅R+t⋅K⋅R) .
- Line (5+R⋅K⋅T) to (4+R⋅K⋅T+N⋅R⋅K) : Interference factors dmrn(k) , float, −2≤dmrn(k)≤0 . Each line has N elements, corresponding to N users. dmrn(k) is the (n+1) -th element of line (5+R⋅K⋅T+m+r⋅N+k⋅R⋅N) .
- Line (5+R⋅K⋅T+N⋅R⋅K) : Frame number J , integer, 1≤J≤5000 .
- Last J lines: Frame information. Each line contains 5 integers corresponding to a frame, which are, in order: frame ID j∈{0,…,J−1} in increasing order, size TBSj ( 0<TBSj≤100000 ), user ID it belongs to, first TTI t0,j∈{0,…,T−1} , and number of TTIs td,j∈[1,100] . Last TTI for frame j can be found as t1,j=t0,j+td,j−1 ; it is guaranteed that t1,j≤T−1 .
It is guaranteed that each user has at most one frame at each TTI.
输入格式
Output for a certain input is the optimization result of prnt(k) (float), which has R⋅K⋅T lines. Each line has N elements, corresponding to N users. prnt(k) is the (n+1) -th element of line (1+r+k⋅R+t⋅K⋅R) .
Note that the optimization result of brnt(k) does not need to be output, because prnt(k)>0 and prnt(k)=0 means brnt(k)=1 and brnt(k)=0 , respectively.
Please note that if the outputs do not meet the constraint (4), it will be judged as an incorrect answer and get score 0 . Besides, transmit on some TTIs out of time window is valid, but usually results in a lower score due to resources waste.
Scoring
The goal is to maximize the number of successfully scheduled frames. When these numbers are tied, we will compare who used less power. To achieve that, Score=X−10−6×p , where X and p represent the number of successfully scheduled frames and the total power used for transmission, respectively.
The total score for a submission is the sum of scores on each test.
输出格式
Two sets of tests are prepared in this problem. For the duration of the competition, each submission is tested on the preliminary set of tests. When the competition is finished, for each contestant:
The jury takes the latest submission with non-zero score on preliminary tests;
This submission is tested on the final set of tests for the final rank;
The two sets of tests are generated from the same pool of data, based on the real word data.
输入输出样例
输入#1
2 2 2 1 1.3865 11.3865 1.3865 11.3865 2.3865 2.3865 2.3865 2.3865 0 -2 -2 0 0 -2 -2 0 2 0 250 0 0 2 1 25 1 0 2
输出#1
0.000000 0.004950 0.000000 0.004950 0.245039 0.000000 0.245039 0.000000
说明/提示
Two sets of tests are prepared in this problem. For the duration of the competition, each submission is tested on the preliminary set of tests. When the competition is finished, for each contestant:
The jury takes the latest submission with non-zero score on preliminary tests;
This submission is tested on the final set of tests for the final rank;
The two sets of tests are generated from the same pool of data, based on the real word data.