QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#552308#3066. Intrinsic Intervalucup-team254WA 1ms4184kbC++204.2kb2024-09-07 21:52:562024-09-07 21:52:57

详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 3936kb

input:

7
3 1 7 5 6 4 2
3
3 6
7 7
1 3

output:

3 6
7 7
1 7

result:

ok 3 lines

Test #2:

score: 0
Accepted
time: 1ms
memory: 3964kb

input:

10
2 1 4 3 5 6 7 10 8 9
5
2 3
3 7
4 7
4 8
7 8

output:

1 4
3 7
3 7
3 10
7 10

result:

ok 5 lines

Test #3:

score: 0
Accepted
time: 1ms
memory: 4052kb

input:

1000
998 996 997 1000 999 991 992 994 995 993 986 987 988 989 990 984 983 981 985 982 979 977 976 978 980 975 973 974 972 971 964 962 963 965 961 970 966 967 969 968 848 849 850 846 847 842 841 843 845 844 853 851 855 854 852 858 860 857 856 859 869 867 866 868 870 865 864 862 861 863 874 871 875 87...

output:

1 3
2 3
1 5
4 5
1 10
6 7
7 10
8 9
8 10
6 15
11 12
12 13
13 14
14 15
11 20
16 17
16 20
16 20
16 20
16 25
21 24
22 23
22 24
21 25
21 26
26 28
27 28
27 29
29 30
30 40
31 33
32 33
31 34
31 35
31 40
36 40
37 38
38 40
39 40
31 200
41 42
42 43
41 45
44 45
44 50
46 47
46 48
48 50
49 50
41 55
51 55
51 55
53 ...

result:

ok 999 lines

Test #4:

score: 0
Accepted
time: 1ms
memory: 4040kb

input:

1000
993 992 994 995 991 998 996 1000 999 997 988 987 986 989 990 985 984 981 982 983 963 962 964 965 961 967 968 970 969 966 972 975 973 974 971 977 980 976 979 978 940 937 936 938 939 933 932 931 934 935 923 924 925 922 921 929 926 927 928 930 953 954 955 951 952 956 958 959 960 957 948 950 947 94...

output:

21 1000
201 1000
21 1000
81 1000
201 1000
17 1000
201 1000
121 1000
41 1000
11 1000
201 1000
201 1000
41 1000
81 1000
81 1000
201 1000
121 1000
481 900
11 1000
361 680
1 1000
201 1000
121 1000
201 1000
201 1000
481 680
121 1000
121 1000
41 1000
441 840
121 1000
361 1000
201 1000
361 680
201 1000
361...

result:

ok 400 lines

Test #5:

score: 0
Accepted
time: 0ms
memory: 4036kb

input:

1000
983 985 982 981 984 989 987 990 986 988 999 996 997 998 1000 993 995 992 991 994 980 978 976 977 979 974 971 973 972 975 967 969 968 966 970 964 961 963 965 962 723 722 724 721 725 730 728 729 726 727 736 740 738 739 737 735 734 733 731 732 745 742 743 744 741 749 750 748 746 747 759 757 758 75...

output:

41 1000
41 1000
361 1000
41 1000
41 1000
41 1000
36 1000
41 1000
41 1000
36 1000
36 1000
361 680
361 680
41 1000
41 1000
41 1000
41 1000
441 520
361 1000
361 1000
41 1000
361 1000
361 1000
1 1000
361 1000
41 1000
41 1000
361 600
41 1000
361 1000
361 1000
41 1000
41 1000
361 680
41 1000
26 1000
41 10...

result:

ok 400 lines

Test #6:

score: 0
Accepted
time: 1ms
memory: 4028kb

input:

1000
974 975 973 976 977 978 981 979 980 995 996 994 997 999 998 993 991 992 986 985 987 989 990 988 982 983 984 1000 860 861 859 864 863 862 858 856 857 844 846 845 842 841 843 839 840 838 848 849 847 852 850 851 855 853 854 829 831 830 837 835 836 832 833 834 820 821 822 826 828 827 825 824 823 81...

output:

1 2
1 3
1 4
4 5
5 6
6 9
7 9
8 9
7 27
10 11
10 12
10 13
13 15
14 15
10 16
16 18
17 18
17 24
19 20
19 21
21 24
22 23
22 24
19 27
25 26
26 27
10 28
1 190
29 30
29 31
29 34
32 33
33 34
29 35
35 37
36 37
36 55
38 40
39 40
38 43
41 42
41 43
41 45
44 45
44 46
38 49
47 48
47 49
47 52
50 52
51 52
50 55
53 55...

result:

ok 999 lines

Test #7:

score: 0
Accepted
time: 1ms
memory: 4092kb

input:

1000
985 986 987 984 982 983 989 990 988 996 994 995 991 993 992 999 998 997 974 975 973 978 976 977 981 980 979 1000 745 747 746 742 744 743 741 740 739 730 731 732 738 736 737 734 733 735 748 749 750 753 751 752 755 754 756 809 808 810 806 805 807 803 802 804 791 792 790 788 787 789 785 784 786 80...

output:

353 757
1 757
272 1000
29 757
353 757
353 757
29 1000
272 1000
272 757
29 757
272 1000
29 757
272 1000
272 1000
29 757
29 757
29 1000
29 1000
272 1000
272 1000
29 757
272 1000
29 1000
29 1000
272 1000
29 757
353 757
272 1000
29 1000
29 1000
1 1000
29 1000
29 1000
29 757
29 1000
29 1000
272 1000
29 1...

result:

ok 400 lines

Test #8:

score: 0
Accepted
time: 1ms
memory: 4020kb

input:

1000
1000 990 989 988 987 985 986 984 982 983 993 991 992 996 995 994 997 999 998 979 980 981 973 974 975 978 977 976 958 960 959 962 961 963 955 956 957 972 970 971 969 968 967 965 964 966 954 953 952 950 951 949 948 947 946 922 923 924 919 921 920 925 927 926 930 928 929 933 932 931 936 935 934 93...

output:

110 1000
83 1000
110 1000
272 757
2 1000
272 1000
110 1000
110 1000
29 1000
272 757
110 1000
272 757
110 1000
23 1000
110 1000
110 1000
272 1000
272 757
272 1000
110 1000
272 1000
2 1000
272 757
272 1000
110 1000
110 1000
272 1000
56 1000
272 757
110 1000
272 1000
272 1000
272 757
110 1000
272 1000
...

result:

ok 400 lines

Test #9:

score: -100
Wrong Answer
time: 1ms
memory: 4184kb

input:

1000
993 991 995 992 994 990 989 986 987 988 978 979 977 976 980 985 982 981 984 983 999 996 997 1000 998 920 917 919 918 916 906 909 910 908 907 922 925 921 924 923 915 911 914 913 912 903 901 905 902 904 944 941 943 945 942 931 935 933 932 934 928 929 927 930 926 947 949 948 946 950 938 936 940 93...

output:

1 5
1 5
1 5
1 5
1 6
6 7
7 10
8 9
9 10
8 20
11 12
11 13
13 14
11 15
15 20
16 20
17 18
17 20
19 20
1 25
21 25
22 23
21 25
21 25
1 125
26 29
27 29
28 29
27 30
26 45
31 35
32 33
32 34
34 35
26 45
36 40
36 40
36 40
39 40
26 45
41 45
42 45
43 44
44 45
26 50
46 50
46 50
46 50
46 50
26 75
51 55
51 55
51 55
...

result:

wrong answer 125th lines differ - expected: '26 250', found: '26 247'