QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#90534#5255. Greedy DrawersSolitaryDream#WA 2ms3664kbC++20302b2023-03-23 15:09:292023-03-23 15:09:33

Judging History

你现在查看的是最新测评结果

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2023-03-23 15:09:33]
  • 评测
  • 测评结果:WA
  • 用时:2ms
  • 内存:3664kb
  • [2023-03-23 15:09:29]
  • 提交

answer

#include<bits/stdc++.h>
using namespace std;

int n;

int main()
{
    ios::sync_with_stdio(false);
    cin.tie(0);
    cin>>n;
    for(int i=1;i<=n;i++)
        printf("%d %d\n",i,1000-i);
    for(int i=1;i<n;i++)
        printf("%d %d\n",i+1,1000-i);
    printf("%d %d\n",1000,1000);
}

详细

Test #1:

score: 0
Wrong Answer
time: 2ms
memory: 3664kb

input:

150

output:

1 999
2 998
3 997
4 996
5 995
6 994
7 993
8 992
9 991
10 990
11 989
12 988
13 987
14 986
15 985
16 984
17 983
18 982
19 981
20 980
21 979
22 978
23 977
24 976
25 975
26 974
27 973
28 972
29 971
30 970
31 969
32 968
33 967
34 966
35 965
36 964
37 963
38 962
39 961
40 960
41 959
42 958
43 957
44 956
4...

result:

wrong answer Janko passed your test!