General
 
 
# Author Problem Lang Verdict Time Memory Sent Judged  
14246004 Practice:
Michael_Carrick
598C - 134 GNU C++ Wrong answer on test 127 62 ms 3064 KB 2015-11-14 01:42:35 2015-11-14 20:13:23
 
 
→ Source
//**************************************************template*****************************************/
//#pragma comment(linker, "/STACK:16777216")
#include<bits/stdc++.h>

using namespace std;
typedef long long int ll;
const ll MOD=1000000007;

#define FOR(i,a,b) for(i=(a);i<(b);i++)
#define ROF(i,a,b) for(i=(a);i>=(b);i--)
#define s(x)                    scanf("%d",&x);
#define sl(x)                   scanf("%lld",&x);
#define p(x)                    printf("%d\n",x);
#define pl(x)                   printf("%lld\n",x);
#define pi 3.14159265358979323846  //float type
#define MAX 100000  //for rmq
#define SQRTMAX 317   //for rmq
//#define gc getchar_unlocked
#define INF                 999999999999999999

/*#define swap(x,y) do \
   { unsigned char swap_temp[sizeof(x) == sizeof(y) ? (signed)sizeof(x) : -1]; \
     memcpy(swap_temp,&y,sizeof(x)); \
     memcpy(&y,&x,       sizeof(x)); \
     memcpy(&x,swap_temp,sizeof(x)); \
    } while(0)

inline int r()
{
    int n=0;
    char c=gc();
    while(c<'0'||c>'9')c=gc();
    while(c>='0'&&c<='9')
    {
        n=n*10+c-'0';
        c=gc();
    }
    return n;
}

 inline void write(ll x){

         register char buffor[35];
         register int i=0;
         do{
               buffor[i++]=(x%10)+'0';
               x/=10;
            } while(x);
           i--;
            while(i>=0) putchar_unlocked(buffor[i--]);
            putchar_unlocked('\n');
       }
       */
#define     SZ(A)       ((int)A.size())
#define     LEN(A)      ((int)A.length())
#define     MS(A)       memset(A, 0, sizeof(A))
#define     MSV(A,a)    memset(A, a, sizeof(A))
#define     mp(x,y)     make_pair((x),(y))
#define     pb(x)       push_back(x)
#define     F           first
#define     S           second

#define     EPS         1e-12

#define trace1(x)           cerr<<__FUNCTION__<<":"<<__LINE__<<": "#x" = "<<x<<endl;
#define trace2(x,y)         cerr<<__FUNCTION__<<":"<<__LINE__<<": "#x" = "<<x<<" | "#y" = "<<y<<endl;
#define trace3(x,y,z)       cerr<<__FUNCTION__<<":"<<__LINE__<<": "#x" = "<<x<<" | "#y" = "<<y<<" | "#z" = "<<z<<endl;
#define trace4(a,b,c,d)     cerr<<__FUNCTION__<<":"<<__LINE__<<": "#a" = "<<a<<" | "#b" = "<<b<<" | "#c" = "<<c<<" | "#d" = "<<d<<endl;
#define trace5(a,b,c,d,e)   cerr<<__FUNCTION__<<":"<<__LINE__<<": "#a" = "<<a<<" | "#b" = "<<b<<" | "#c" = "<<c<<" | "#d" = "<<d<<" | "#e" = "<<e<<endl;
#define trace6(a,b,c,d,e,f) cerr<<__FUNCTION__<<":"<<__LINE__<<": "#a" = "<<a<<" | "#b" = "<<b<<" | "#c" = "<<c<<" | "#d" = "<<d<<" | "#e" = "<<e<<" | "#f" = "<<f<<endl;



#define     chkbit(s, b)    (s & (1<<b))
#define     setbit(s, b)    (s |= (1<<b))
#define     clrbit(s, b)    (s &= ~(1<<b))

//#define   swap(x,y)       {x=x+y-(y=x);}
#define     FOUND(A, x)     (A.find(x) != A.end())





 ll power(ll a, ll b, ll m) {
    ll r = 1;
    while(b) {
        if(b & 1) r = r * a % m;
        a = (a * a)% m;
        b >>= 1;
    }
    return r;
}
 ll power(ll a, ll b) {
     ll r = 1;
    while(b) {
        if(b & 1) r = r * a ;
        a = a * a;
        b >>= 1;
    }
    return r;
}

ll gcd(ll a,ll b){
      return b==0?a:gcd(b,a%b);
}
 //......long long int
ll lcm(ll a,ll b){
      return (a/gcd(a,b))*b;
}
 //......long long int with mod
ll modularInverse(ll a,ll m){
      return power(a,m-2,m);


}

int ceill(int a,int b)
{
    return ((a+b-1)/b);
}

 int mini(int a,int b) { return a<b? a : b; }
 int maxi(int a,int b) { return a>b? a : b; }


typedef long long ll;
typedef unsigned long long ull;

typedef vector<int> VI;
typedef pair<int, int> II;
typedef vector<long long> VLL;
typedef vector<bool> VB;


/*........................................................END OF TEMPLATES...................................................................
....*/

vector < pair< double,int > > arr;
int main()
{ int i,j,k,t,n,te;
    t=1;
    #ifndef ONLINE_JUDGE
     freopen("input.txt","r",stdin);
    #endif
    s(n)
    t=n;
      i=1;
    while(t--)
    {
        //s(n)
        s(j)
        s(k)

        double angle=atan2(k, j);
        if (angle < 0.0000000) angle += 2 * M_PI;

        arr.pb(mp(angle,i));


        i++;
    }

    sort(arr.begin(),arr.end());

    double ans=10000000.0;
    int ind1=0,ind2=0;;

    FOR(i,1,n)
    {    //trace1(arr[i].F)
        if((arr[i].F-arr[i-1].F)-ans<0.00000000000000)
        {
            ans=arr[i].F-arr[i-1].F;
            ind1=arr[i].S;
            ind2=arr[i-1].S;
        }
    }

      if((arr[0].F+2*M_PI-arr[n-1].F)-ans<0.00000000000000)
        {
            ans=arr[i].F-arr[i-1].F;
            ind1=arr[0].S;
            ind2=arr[n-1].S;
        }


    printf("%d %d\n",ind1,ind2);



    return 0;
}
 
 
1
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
4
-1 0
0 -1
1 0
1 1
Participant's output
4 3
Jury's answer
3 4
Checker comment
v1=0.785398 v2=0.785398
ok Correct :-|
 
 
2
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
6
-1 0
0 -1
1 0
1 1
-4 -5
-4 -6
Participant's output
6 5
Jury's answer
5 6
Checker comment
v1=0.0867383 v2=0.0867383
ok Correct :-|
 
 
3
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
10
8 6
-7 -3
9 8
7 10
-3 -8
3 7
6 -8
-9 8
9 2
6 7
Participant's output
3 1
Jury's answer
1 3
Checker comment
v1=0.0831412 v2=0.0831412
ok Correct :-|
 
 
4
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
20
-9 8
-7 3
0 10
3 7
6 -9
6 8
7 -6
-6 10
-10 3
-8 -10
10 -2
1 -8
-8 10
10 10
10 6
-5 6
5 -8
5 -9
-9 -1
9 2
Participant's output
16 13
Jury's answer
13 16
Checker comment
v1=0.0199973 v2=0.0199973
ok Correct :-|
 
 
5
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
100
28 -23
-26 -38
-4 -48
-27 -16
-26 36
-44 -37
-40 23
-6 -41
-15 -37
-25 46
-41 42
-43 -40
-23 28
50 45
33 -50
14 -50
13 47
-41 -30
48 -3
34 -4
42 8
-36 34
41 31
-38 -39
-30 -29
-41 -50
12 -31
-43 -26
39 -6
-38 22
31 -23
37 -41
-7 34
3 50
-41 49
-45 25
-46 -16
27 11
-29 -21
26 9
-4 -42
-41 8
-4 -43
42 -2
31 23
2 -48
-2 27
48 -33
-2 -43
36 -41
-45 -11
49 -45
-39 -1
-31 10
46 -47
9 47
2 29
25 50
17 30
1 37
-10 -49
34 37
34 20
46 -28
-29 28
3...
Participant's output
66 89
Jury's answer
89 66
Checker comment
v1=0.000610873 v2=0.000610873
ok Correct :-|
 
 
6
Time: 15 ms, memory: 32 KB
Verdict: OK
Input
1000
-70 2
79 34
65 -51
-49 66
64 97
-92 72
-95 39
67 21
-17 -96
-32 65
73 -64
-83 -29
-42 -88
-79 -30
78 5
-72 -100
97 58
-80 -66
35 73
-60 -81
-88 -54
57 -81
21 92
3 61
-76 42
-62 85
53 12
99 -16
-52 97
54 89
-92 -29
-47 -61
71 1
99 56
31 -97
-42 71
33 70
16 -74
-63 91
35 -87
15 -98
6 -93
55 97
87 35
-68 -53
-5 100
-27 -92
-66 -37
92 34
-71 64
-64 95
90 -46
-54 -85
-79 81
-87 100
-78 97
87 3
78 38
-98 51
53 22
48 -83
-88 -17
59 98
-15 -62
-...
Participant's output
447 688
Jury's answer
688 447
Checker comment
v1=7.80762e-005 v2=7.80762e-005
ok Correct :-|
 
 
7
Time: 15 ms, memory: 508 KB
Verdict: OK
Input
10000
-106 81
62 -117
19 -112
77 117
34 141
145 -31
-145 -26
-116 -62
93 41
-79 -13
-109 74
-94 9
131 -29
-147 144
-79 -72
137 -147
-129 128
5 97
129 45
145 -97
-129 58
-91 -139
-105 -138
-138 -130
117 -141
137 -36
-133 18
131 20
-5 104
-81 114
-10 97
-97 -113
103 96
-132 -13
-139 70
-118 53
-54 -115
94 -121
-13 149
-2 -101
-55 101
89 -59
2 79
-77 36
-50 -114
-25 -146
89 77
126 106
-26 -137
-26 146
37 -98
103 2
-31 98
-100 -117
-48 145
-137 -6
-134 -...
Participant's output
7832 2733
Jury's answer
2733 7832
Checker comment
v1=2.28269e-005 v2=2.28269e-005
ok Correct :-|
 
 
8
Time: 31 ms, memory: 1520 KB
Verdict: OK
Input
50000
-138 19
-141 40
40 -141
-38 -99
76 148
-95 41
-107 -20
7 -80
128 63
-122 8
15 123
147 -119
-4 -138
-81 49
-46 79
89 -99
-20 -117
103 -107
121 -13
132 23
2 -113
-118 58
-144 110
-128 -117
-138 78
-22 139
77 -103
117 92
-81 -59
-144 -84
-87 -61
147 -83
-115 102
-38 -104
109 -84
73 -85
-41 118
134 -135
-7 -134
-140 -75
-131 -135
98 132
115 -96
9 -118
15 101
-106 100
30 -128
124 48
-103 -102
121 117
72 138
123 100
99 136
-29 -140
68 107
71 -102
123...
Participant's output
21414 37437
Jury's answer
46483 39359
Checker comment
v1=2.25215e-005 v2=2.25215e-005
ok Correct :-|
 
 
9
Time: 15 ms, memory: 1524 KB
Verdict: OK
Input
50000
-71 -128
-3 -126
-131 -7
-32 103
-128 -149
-112 -37
-50 -111
109 -14
-18 -137
-130 147
46 -102
76 -49
-95 -13
63 83
-20 103
144 126
-110 141
45 -109
11 136
-128 -107
-135 -104
-142 98
-138 61
122 -142
-99 53
-81 52
11 -142
110 -78
148 137
-109 -52
-77 87
145 127
-147 -123
-5 147
129 84
-25 -142
-13 81
130 -45
84 -143
27 100
107 -130
9 104
-124 -90
-109 -141
139 38
77 53
20 -124
-142 139
-136 26
136 71
-143 -86
-94 -63
89 35
89 135
142 41
53 93
...
Participant's output
48274 48562
Jury's answer
33456 27602
Checker comment
v1=2.25215e-005 v2=2.25215e-005
ok Correct :-|
 
 
10
Time: 31 ms, memory: 1520 KB
Verdict: OK
Input
50000
16 -129
83 12
-55 -78
114 -67
77 48
71 93
130 -42
100 133
-47 101
-118 -145
-145 110
-49 -99
137 -118
-116 -13
140 -31
-75 143
-82 117
141 -150
133 -26
121 48
97 -66
35 -96
-108 55
-145 -141
-127 -25
11 -79
2 -131
-96 149
-149 -13
-137 -75
-96 -17
103 8
150 -100
-142 -14
-109 -13
-138 5
-48 147
82 -55
-112 75
-127 -139
9 -89
-31 136
86 105
115 67
82 -108
-131 54
-137 24
-16 79
-140 95
138 -102
-86 41
56 138
116 -109
-143 -125
-143 67
130 140
78...
Participant's output
31115 38607
Jury's answer
35424 6272
Checker comment
v1=2.25215e-005 v2=2.25215e-005
ok Correct :-|
 
 
11
Time: 15 ms, memory: 1524 KB
Verdict: OK
Input
50000
1 118
65 -114
147 12
148 -137
91 146
-28 102
8 115
141 -140
-121 -72
-109 -145
-76 -17
122 25
-116 -37
-94 27
-59 132
-144 92
82 53
-36 127
-67 128
-133 -126
86 41
137 63
11 -141
-138 130
-19 92
142 43
123 46
130 21
117 121
139 78
-145 -99
127 -58
122 40
85 129
95 49
-82 -67
-103 97
-138 -41
-122 -5
142 -94
119 -66
-95 -87
-46 83
103 -47
77 90
146 133
75 136
-104 -55
23 -106
-108 79
-102 16
-122 25
95 -62
128 27
-135 -85
-138 16
-149 -105
-100...
Participant's output
36816 32247
Jury's answer
7479 44592
Checker comment
v1=2.25215e-005 v2=2.25215e-005
ok Correct :-|
 
 
12
Time: 30 ms, memory: 1520 KB
Verdict: OK
Input
50000
36 125
121 8
131 -79
116 -118
-101 102
-132 105
74 120
111 118
88 -81
-133 10
-91 138
55 81
-142 45
92 -143
-12 136
-36 -141
103 -41
-19 -105
145 -78
-31 -81
-150 23
93 -2
32 -114
-132 -14
54 -139
138 105
-19 -147
1 96
82 -120
114 -97
91 92
4 123
-95 13
95 -2
27 -94
110 114
-109 150
88 -21
-5 111
91 -88
43 102
-33 76
103 120
-95 1
1 -79
-146 -37
73 -148
-37 145
2 -145
-86 102
144 -146
-83 127
-149 -96
-114 52
10 -113
17 -139
100 -19
115 3
-11...
Participant's output
34228 858
Jury's answer
34316 28049
Checker comment
v1=2.25215e-005 v2=2.25215e-005
ok Correct :-|
 
 
13
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
100
-125 -67
-77 114
-81 -14
150 -63
136 27
-147 -9
-34 145
49 -116
120 -129
122 67
-110 74
-125 -138
-35 87
80 103
121 17
146 -59
20 -136
55 140
-46 -147
134 148
-138 -101
-117 44
61 82
148 -49
-8 -115
-17 133
79 16
-128 62
-88 127
-122 142
109 -5
-49 78
95 108
102 -142
-127 121
-124 100
-27 -139
-57 131
-150 -136
67 -110
-24 -119
47 -90
64 142
-137 38
-11 -104
102 -122
125 83
-116 135
150 -29
47 107
-41 77
97 73
-146 -89
93 65
47 -88
-83 -93
-61 -1...
Participant's output
48 30
Jury's answer
30 48
Checker comment
v1=6.00204e-005 v2=6.00204e-005
ok Correct :-|
 
 
14
Time: 15 ms, memory: 4 KB
Verdict: OK
Input
100
-87 131
-47 97
-137 54
-90 -106
-9 -103
-148 -39
4 89
-109 -9
107 -43
80 -89
63 85
-106 -132
72 121
132 23
133 -118
107 -58
72 107
-73 98
-141 -25
79 119
148 -68
110 -71
-88 -123
124 123
92 -137
-85 129
23 139
65 -144
145 74
-85 -83
-109 40
-21 -76
-122 -30
96 138
1 -116
-32 -77
-138 34
131 -132
-114 93
-124 150
49 113
-3 126
103 122
82 137
-52 -89
-141 56
-19 107
91 -92
84 -106
-14 147
15 136
73 -145
98 132
-73 -95
117 -119
52 113
65 -131
-3 14...
Participant's output
99 93
Jury's answer
93 99
Checker comment
v1=0.000179356 v2=0.000179356
ok Correct :-|
 
 
15
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
100
-127 81
-76 -110
54 -140
53 99
-98 -102
-141 -49
-101 145
119 -81
134 82
-54 -107
-38 -102
101 29
137 -36
50 -134
132 -20
-7 -114
140 -85
-117 82
-56 -145
-120 -9
-33 139
-127 -14
22 -101
60 149
79 -45
98 -103
-150 -10
12 -131
138 127
146 -69
146 20
150 -46
-96 107
125 106
-82 61
117 79
111 120
114 -65
104 -17
120 141
-78 127
45 -114
-83 -115
125 109
-136 29
-3 118
-19 146
132 -116
138 75
-1 88
128 19
92 85
8 -126
86 -150
-65 -111
-134 -128
81 13...
Participant's output
25 38
Jury's answer
38 25
Checker comment
v1=0.000419076 v2=0.000419076
ok Correct :-|
 
 
16
Time: 0 ms, memory: 4 KB
Verdict: OK
Input
100
-17 -99
-27 -128
95 62
109 -104
140 76
130 -129
113 -72
138 34
-122 -92
61 82
2 -115
3 -94
-141 50
16 -110
-123 119
-94 1
-117 12
99 74
75 -76
59 110
136 26
7 -97
119 139
127 124
-61 103
76 -118
17 82
-13 141
136 -77
10 129
-138 105
12 -141
99 -8
-112 106
101 -83
-132 89
-94 23
136 -128
-73 102
103 139
-93 136
-109 124
147 5
147 -84
138 147
16 -129
-91 -123
85 138
143 28
-83 -99
-136 40
-122 118
148 -72
-46 -116
23 90
120 -113
97 131
106 86
136...
Participant's output
79 94
Jury's answer
94 79
Checker comment
v1=9.69744e-005 v2=9.69744e-005
ok Correct :-|
 
 
17
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
100
-93 116
6 -77
-119 -128
2 106
-125 111
134 -52
145 62
-85 -97
-107 -139
121 20
123 -56
146 72
-111 88
64 -133
-142 -28
70 -101
-5 111
97 -15
-85 141
75 -97
-53 -105
-48 147
-144 132
-125 -39
63 114
81 118
-113 -35
134 -106
118 26
-122 92
147 150
-131 21
85 14
-89 70
88 136
48 118
105 44
-37 98
-29 79
44 137
5 99
142 4
-74 -143
-76 109
77 72
26 140
-82 -89
148 -114
-98 115
-113 -23
26 -93
-2 128
-77 -135
109 58
-142 -52
-77 -18
-143 122
-141 -56
...
Participant's output
42 73
Jury's answer
73 42
Checker comment
v1=0.000131527 v2=0.000131527
ok Correct :-|
 
 
18
Time: 0 ms, memory: 4 KB
Verdict: OK
Input
100
27 -146
-68 111
-114 144
-4 -128
-142 -31
115 -6
-139 15
145 -46
-22 -113
46 131
123 -98
-24 97
-86 116
-58 -110
32 -123
136 114
127 79
-150 99
-48 133
-59 115
-93 26
56 -114
107 -12
-144 -66
41 113
-107 38
108 14
-77 90
131 -31
132 -27
61 -134
-134 15
53 99
73 147
90 122
143 -20
83 -102
30 149
123 46
71 -90
102 97
128 101
-103 136
38 109
-79 117
-147 126
-145 93
-146 71
-6 -137
-110 34
122 150
135 -55
113 -129
-8 -133
-51 121
114 -110
79 -16
10...
Participant's output
91 62
Jury's answer
62 91
Checker comment
v1=0.000315657 v2=0.000315657
ok Correct :-|
 
 
19
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
2
351 -4175
-328 -657
Participant's output
1 2
Jury's answer
2 1
Checker comment
v1=0.546913 v2=0.546913
ok Correct :-|
 
 
20
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
3
620 -1189
8101 -2770
3347 3473
Participant's output
2 1
Jury's answer
1 2
Checker comment
v1=0.760669 v2=0.760669
ok Correct :-|
 
 
21
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
4
-7061 -5800
-3471 -9470
-7639 2529
5657 -6522
Participant's output
2 1
Jury's answer
1 2
Checker comment
v1=0.531813 v2=0.531813
ok Correct :-|
 
 
22
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
5
-7519 -3395
-32 -257
-4827 -1889
9545 -7037
2767 583
Participant's output
1 3
Jury's answer
3 1
Checker comment
v1=0.0511006 v2=0.0511006
ok Correct :-|
 
 
23
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
6
-5120 -3251
8269 -7984
841 3396
3136 -7551
-1280 -3013
-3263 -3278
Participant's output
6 1
Jury's answer
1 6
Checker comment
v1=0.221961 v2=0.221961
ok Correct :-|
 
 
24
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
7
-2722 6597
-3303 200
6508 -1021
-1107 -1042
6875 7616
-3047 6749
662 -1979
Participant's output
6 1
Jury's answer
1 6
Checker comment
v1=0.0327482 v2=0.0327482
ok Correct :-|
 
 
25
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
8
-36 749
5126 943
1165 533
-1647 -5725
5031 6532
5956 8447
2297 -2284
1986 6937
Participant's output
6 5
Jury's answer
5 6
Checker comment
v1=0.0421672 v2=0.0421672
ok Correct :-|
 
 
26
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
9
-391 -1706
995 -5756
-5013 -154
1121 3160
-7111 8303
-7303 -2414
-7791 -935
7576 -9361
1072 203
Participant's output
7 3
Jury's answer
3 7
Checker comment
v1=0.0887286 v2=0.0887286
ok Correct :-|
 
 
27
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
10
-9920 -5477
9691 -3200
754 885
-1895 1768
-941 1588
6293 -2631
-2288 9129
4067 696
-6754 9869
-5747 701
Participant's output
9 5
Jury's answer
5 9
Checker comment
v1=0.0652177 v2=0.0652177
ok Correct :-|
 
 
28
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
100
2333 2235
-3927 -2986
-1007 3522
163 -1816
-811 -19
-1654 -1311
-2189 4635
-5356 -6945
913 2539
7082 7151
-2999 1611
2696 161
7133 -1961
-98 501
8780 -1701
1049 1161
-6443 -175
-734 2089
3125 1788
1076 3271
-4581 4184
6172 4935
-3184 -8475
4420 -939
-355 1074
1248 185
-418 -6739
-576 151
9402 9869
-3887 206
1460 -2353
5791 -2945
-2291 833
523 -363
-8289 -6224
3893 9355
-4991 -1780
-4387 -2031
-2025 -4126
-3840 -409
5364 5417
-1539 -229
8721 -6202
1279 658
57...
Participant's output
41 10
Jury's answer
10 41
Checker comment
v1=6.81657e-005 v2=6.81657e-005
ok Correct :-|
 
 
29
Time: 0 ms, memory: 36 KB
Verdict: OK
Input
1000
409 -431
-5727 1816
5151 -1540
37 -40
-148 -373
4047 2896
1509 -1948
-6870 -4301
331 6406
3094 7621
-9643 -3337
-864 -245
-9524 7755
-8645 2118
9651 -3130
-3157 4399
-4025 4967
653 -131
1669 688
2863 -2006
589 293
-197 141
143 -8852
1493 1674
-7 -114
-1339 3312
139 -2211
4611 -9623
1622 -4383
-1091 2916
-7864 -6107
-9113 9787
1751 -1595
9161 2611
5006 -3193
-4421 -1890
3409 -9056
2668 -1171
1967 258
5052 -167
5153 -4942
-4561 4211
8989 -2892
-8720 -6399
114...
Participant's output
807 256
Jury's answer
256 807
Checker comment
v1=4.96291e-006 v2=4.96291e-006
ok Correct :-|
 
 
30
Time: 15 ms, memory: 504 KB
Verdict: OK
Input
10000
6766 1211
-2657 -3214
-8491 1144
-520 -1291
-262 -949
2859 -6668
4397 -6917
-122 -339
-4459 -8208
-201 -164
3029 -1680
4579 -2628
2170 -4783
-1751 -4171
677 1003
-4651 1263
3098 9597
-3691 9718
-2859 -905
-408 241
-163 273
-431 -439
4209 -9319
-7094 9027
3221 -9660
-2073 -1166
122 -651
1461 -158
-5745 -8891
-6661 9985
4789 -8406
2159 -2689
-911 -1190
-5556 5687
-1320 1927
-8173 -723
513 295
321 944
-4692 -4895
-694 993
1787 -1431
-9827 2003
313 -3168
-4378 ...
Participant's output
1835 4931
Jury's answer
4931 1835
Checker comment
v1=7.46865e-008 v2=7.46865e-008
ok Correct :-|
 
 
31
Time: 62 ms, memory: 3064 KB
Verdict: OK
Input
100000
-237 -19
2144 -5753
-9633 -4444
-672 -2327
1259 -296
-1585 389
-803 -843
-9011 -9775
-3131 7805
2386 -1035
-3185 -1754
-6257 5530
-8115 -9494
-27 6998
-3535 426
-415 116
1993 2758
-1651 -2715
5024 -3095
-1217 58
9456 -2015
2812 -1525
6093 7684
552 329
3271 84
5052 4501
5260 8769
-421 -485
4090 -3593
3203 -4521
-613 -1654
-198 577
-3274 1853
685 -1019
-5105 -5028
4198 3839
-620 2437
-251 -8404
8166 7837
-6288 9719
-3392 -1403
-112 103
3936 2387
-1057 -3494
...
Participant's output
75335 60480
Jury's answer
60480 75335
Checker comment
v1=1.00574e-008 v2=1.00574e-008
ok Correct :-|
 
 
32
Time: 46 ms, memory: 3060 KB
Verdict: OK
Input
100000
2988 -8749
-625 2206
2449 3181
-1077 7265
-5691 -2977
1043 -2951
-851 -716
-4623 -1376
3037 -3300
-7297 3669
-8143 4287
-77 -109
-5629 -8413
-2023 -2143
9363 -4670
5908 -4385
-766 821
2499 -1222
9521 9440
-8736 -3487
-3756 5891
-4877 -6006
-5715 -1352
2979 -4177
1 0
-6353 617
2077 -7194
3699 3119
1017 212
-2145 -1943
1994 665
129 -371
6347 6299
-4301 7594
-98 -41
2703 -160
-2425 -2609
1375 812
-4126 -4159
7170 -8087
201 -2719
1577 -6533
863 -1487
-1052 -25...
Participant's output
62417 46244
Jury's answer
46244 62417
Checker comment
v1=7.93908e-009 v2=7.93908e-009
ok Correct :-|
 
 
33
Time: 46 ms, memory: 3060 KB
Verdict: OK
Input
100000
5571 9269
-9825 4328
-520 -803
3257 -4245
-3247 7627
523 -1109
4218 -5137
-3491 4000
8622 3911
9885 -2882
2315 2183
29 111
-3917 -8513
2017 3656
2452 4743
4233 3221
4213 -1565
-2120 -959
-84 479
349 874
-612 1733
-7253 -5370
-2922 -3595
-4127 2076
-4829 2769
1250 589
5934 -5855
-5869 1535
9201 -9403
3781 2666
505 3032
-5374 -5591
4805 -2301
-7871 -5411
-4083 -1738
1575 9683
-2547 -3866
7149 1312
4951 -9414
-2351 9467
721 8501
-6241 -6985
-3577 -6297
-5204 ...
Participant's output
10582 9552
Jury's answer
9552 10582
Checker comment
v1=7.47221e-009 v2=7.47221e-009
ok Correct :-|
 
 
34
Time: 46 ms, memory: 3064 KB
Verdict: OK
Input
100000
3037 -155
-12 679
-579 -589
-5897 -4244
6638 -1769
-1037 9533
-2203 7306
-2315 -1061
-9011 576
-7819 -7172
4887 5956
403 -232
5237 9128
-733 -508
103 -835
1279 4283
-6553 -8533
-336 -9713
2032 993
587 2589
241 14
5255 -6996
-3118 4711
-7581 4099
-3431 2948
-1853 1708
-5623 -9101
-1439 -24
-2519 2184
-103 -748
-4825 -4617
6287 -2650
-6440 -603
-1565 -1464
-9049 214
-1814 -475
-4047 -3818
-1393 -7365
865 -422
8129 -5540
-1021 4307
-2206 -2479
2133 1136
3202 ...
Participant's output
49860 63047
Jury's answer
63047 49860
Checker comment
v1=1.08575e-008 v2=1.08575e-008
ok Correct :-|
 
 
35
Time: 62 ms, memory: 3060 KB
Verdict: OK
Input
100000
-6939 -4399
-726 -23
-381 106
-8605 7444
478 465
4321 8726
-1183 -2514
3373 1097
798 -5615
384 -233
2830 5363
2179 -4585
-2805 4514
471 758
-6190 -3873
-9415 3614
5911 948
5689 1191
406 -517
8171 5687
-349 -1355
-2238 -8621
-3247 9171
-448 -849
8493 -8566
-1773 3122
7937 -7762
-1074 2905
2881 2034
713 -493
-362 117
1347 73
4879 548
-1550 2861
-1078 -2033
4499 1927
-3652 9605
-233 -3482
1233 -2455
8311 9753
9797 2968
1391 -112
1748 2841
-6131 8254
-2930 -7...
Participant's output
50556 60299
Jury's answer
60299 50556
Checker comment
v1=1.07397e-008 v2=1.07397e-008
ok Correct :-|
 
 
36
Time: 0 ms, memory: 4 KB
Verdict: OK
Input
2
1 0
-1 0
Participant's output
2 1
Jury's answer
1 2
Checker comment
v1=3.14159 v2=3.14159
ok Correct :-|
 
 
37
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
2
0 1
0 -1
Participant's output
2 1
Jury's answer
1 2
Checker comment
v1=3.14159 v2=3.14159
ok Correct :-|
 
 
38
Time: 0 ms, memory: 4 KB
Verdict: OK
Input
2
2131 -3249
-2131 3249
Participant's output
1 2
Jury's answer
2 1
Checker comment
v1=3.14159 v2=3.14159
ok Correct :-|
 
 
39
Time: 61 ms, memory: 3060 KB
Verdict: OK
Input
100000
1194 5213
1256 519
1163 800
9486 245
2754 2473
569 382
3265 2422
8507 3873
4255 1789
3367 3057
1579 8736
1641 2029
625 362
200 761
3681 9229
311 307
47 521
6056 2009
5189 2344
867 2186
8841 4891
8579 9281
8167 294
6905 3712
597 491
865 8781
381 2290
2403 7721
3824 5169
6572 6127
4979 6148
2678 8469
5454 3091
527 97
403 6024
6402 5783
4829 3423
3250 1359
5794 5725
3341 6848
1340 1293
689 309
831 247
3129 1651
213 2015
1040 1487
1399 4908
1329 1744
783 ...
Participant's output
24955 87747
Jury's answer
87747 24955
Checker comment
v1=6.96477e-009 v2=6.96477e-009
ok Correct :-|
 
 
40
Time: 46 ms, memory: 3060 KB
Verdict: OK
Input
100000
-573 7715
-203 541
-6521 3550
-5161 2198
-3424 6303
-6903 139
-1581 1690
-3619 3407
-3097 3202
-4208 3013
-998 439
-7087 9067
-2122 8817
-616 277
-3448 4177
-1391 2539
-1641 1445
-5364 8821
-1489 2182
-7681 5116
-33 599
-689 2086
-34 651
-5593 4750
-1231 878
-2391 292
-8609 1887
-95 412
-4282 3741
-241 1442
-187 2571
-937 4588
-138 79
-463 212
-6227 3703
-9762 6323
-7065 6361
-1389 1249
-3817 3005
-2913 5
-7485 1847
-1521 7244
-9 52
-8483 146
-4741 9357
...
Participant's output
48724 11485
Jury's answer
11485 48724
Checker comment
v1=5.82518e-009 v2=5.82518e-009
ok Correct :-|
 
 
41
Time: 62 ms, memory: 3056 KB
Verdict: OK
Input
100000
5637 -2374
9533 -6474
8979 -2692
9087 -4151
6430 -5187
2745 -1351
901 -429
2035 -8004
1593 -6736
4414 -6345
2773 -3330
7093 -4205
1586 -2565
5391 -1805
3235 -2493
7283 -1143
371 -410
4303 -4098
107 -83
9313 -5453
3439 -8601
1613 -8658
1580 -1207
6031 -5788
344 -213
6105 -9623
3209 -2977
9878 -9
737 -4110
4951 -7567
338 -413
2821 -1633
125 -277
4516 -4575
1267 -3075
107 -957
697 -531
1853 -9093
9067 -8453
227 -2776
8385 -7658
3766 -4929
6857 -1504
1114 -130...
Participant's output
13466 29808
Jury's answer
29808 13466
Checker comment
v1=7.40431e-009 v2=7.40431e-009
ok Correct :-|
 
 
42
Time: 46 ms, memory: 3060 KB
Verdict: OK
Input
100000
-5016 -4877
-7441 -7537
-9685 -2242
-3011 -6104
-199 -509
-9567 -3650
-8642 -9231
-766 -1351
-3091 -3180
-6096 -6257
-9734 -2571
-7506 -9343
-1604 -3361
-7086 -6265
-5077 -6604
-1783 -7616
-7917 -3917
-3081 -2503
-3023 -9265
-517 -673
-1621 -84
-6164 -3549
-5196 -487
-785 -8984
-1539 -487
-4804 -4167
-6712 -9909
-6457 -5076
-5477 -331
-1501 -5457
-1067 -4546
-3769 -4090
-1097 -4446
-4388 -2647
-1375 -678
-1286 -451
-64 -537
-1827 -3758
-8749 -8738
-858 -3847
...
Participant's output
32169 7745
Jury's answer
7745 32169
Checker comment
v1=7.99517e-009 v2=7.99517e-009
ok Correct :-|
 
 
43
Time: 46 ms, memory: 3064 KB
Verdict: OK
Input
100000
4943 8601
9985 1792
8687 214
2299 1478
3055 5406
8539 8438
1703 1271
2927 9893
9936 4417
1149 5153
1828 4073
483 47
8781 317
3943 1786
1607 1168
4544 1155
3719 2223
2229 1733
9049 6533
97 1155
17 201
9562 5197
1223 21
461 4788
9187 8713
9481 6952
313 209
108 2401
5894 5099
2031 1687
3437 3274
2648 2507
1217 822
7199 2018
659 115
628 195
3551 6267
8431 1180
236 41
1105 938
854 3621
4573 4200
1654 7151
309 82
3989 4696
2927 3083
661 3626
3241 2335
1029 ...
Participant's output
60971 47104
Jury's answer
47104 60971
Checker comment
v1=7.35183e-009 v2=7.35183e-009
ok Correct :-|
 
 
44
Time: 62 ms, memory: 3064 KB
Verdict: OK
Input
100000
1777 -1643
1588 -7631
3233 -6220
1224 -475
1301 -3959
251 -533
927 -950
4876 -1615
1451 -5488
7679 -628
137 -4344
337 -1162
7711 -5205
7109 -2094
5196 -1427
8945 -8923
7253 -9178
3421 -1033
3045 -557
2942 -2635
6369 -7475
119 -972
144 -53
6870 -1519
6598 -3881
4779 -2219
9375 -7426
9833 -9325
318 -509
621 -3169
5577 -1546
7055 -1239
309 -2342
8746 -2939
497 -400
7219 -1210
1461 -6755
739 -938
2938 -2793
4621 -2641
5987 -2612
5374 -4669
6527 -581
350 -5217
...
Participant's output
11003 23404
Jury's answer
23404 11003
Checker comment
v1=6.82851e-009 v2=6.82851e-009
ok Correct :-|
 
 
45
Time: 0 ms, memory: 4 KB
Verdict: OK
Input
3
-5 1
-5 -1
5 0
Participant's output
2 1
Jury's answer
1 2
Checker comment
v1=0.394791 v2=0.394791
ok Correct :-|
 
 
46
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
3
-100 1
-100 -1
0 100
Participant's output
2 1
Jury's answer
1 2
Checker comment
v1=0.0199993 v2=0.0199993
ok Correct :-|
 
 
47
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
3
1 10
10 1
10 -1
Participant's output
2 3
Jury's answer
3 2
Checker comment
v1=0.199337 v2=0.199337
ok Correct :-|
 
 
48
Time: 0 ms, memory: 4 KB
Verdict: OK
Input
3
3 0
0 3
1 -3
Participant's output
1 3
Jury's answer
3 1
Checker comment
v1=1.24905 v2=1.24905
ok Correct :-|
 
 
49
Time: 0 ms, memory: 4 KB
Verdict: OK
Input
3
1 1
-1 0
1 -1
Participant's output
1 3
Jury's answer
3 1
Checker comment
v1=1.5708 v2=1.5708
ok Correct :-|
 
 
50
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
3
-1 0
10 -1
1 0
Participant's output
3 2
Jury's answer
2 3
Checker comment
v1=0.0996687 v2=0.0996687
ok Correct :-|
 
 
51
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
4
1 10
10 1
-2 -2
10 -1
Participant's output
2 4
Jury's answer
4 2
Checker comment
v1=0.199337 v2=0.199337
ok Correct :-|
 
 
52
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
3
-6 0
6 1
6 -1
Participant's output
2 3
Jury's answer
3 2
Checker comment
v1=0.330297 v2=0.330297
ok Correct :-|
 
 
53
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
3
114 1
-514 0
114 -1
Participant's output
1 3
Jury's answer
3 1
Checker comment
v1=0.0175434 v2=0.0175434
ok Correct :-|
 
 
54
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
4
-1 0
0 -1
-1 1
1 0
Participant's output
1 3
Jury's answer
3 1
Checker comment
v1=0.785398 v2=0.785398
ok Correct :-|
 
 
55
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
4
2 1
2 -1
-1 1
-1 -1
Participant's output
1 2
Jury's answer
2 1
Checker comment
v1=0.927295 v2=0.927295
ok Correct :-|
 
 
56
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
3
3 1
3 -1
0 3
Participant's output
1 2
Jury's answer
2 1
Checker comment
v1=0.643501 v2=0.643501
ok Correct :-|
 
 
57
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
3
1 1
9000 1
9000 -1
Participant's output
2 3
Jury's answer
3 2
Checker comment
v1=0.000222222 v2=0.000222222
ok Correct :-|
 
 
58
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
3
1 0
-1 1
-1 -1
Participant's output
3 2
Jury's answer
2 3
Checker comment
v1=1.5708 v2=1.5708
ok Correct :-|
 
 
59
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
6
1 1
-1 -1
0 20
100 1
-100 0
100 -1
Participant's output
4 6
Jury's answer
6 4
Checker comment
v1=0.0199993 v2=0.0199993
ok Correct :-|
 
 
60
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
4
1 0
0 1
-1 0
-13 -1
Participant's output
4 3
Jury's answer
3 4
Checker comment
v1=0.0767719 v2=0.0767719
ok Correct :-|
 
 
61
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
3
1 0
-1 0
1 -1
Participant's output
1 3
Jury's answer
3 1
Checker comment
v1=0.785398 v2=0.785398
ok Correct :-|
 
 
62
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
3
100 1
-100 0
100 -1
Participant's output
1 3
Jury's answer
3 1
Checker comment
v1=0.0199993 v2=0.0199993
ok Correct :-|
 
 
63
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
3
-100 1
100 0
-100 -1
Participant's output
3 1
Jury's answer
1 3
Checker comment
v1=0.0199993 v2=0.0199993
ok Correct :-|
 
 
64
Time: 0 ms, memory: 4 KB
Verdict: OK
Input
3
1 100
0 -100
-1 100
Participant's output
3 1
Jury's answer
1 3
Checker comment
v1=0.0199993 v2=0.0199993
ok Correct :-|
 
 
65
Time: 0 ms, memory: 8 KB
Verdict: OK
Input
11
-7945 386
7504 -576
-6020 -8277
930 9737
1682 474
-8279 1197
2790 2607
-5514 -9601
-3159 5939
-1806 4207
-9073 -2138
Participant's output
9 10
Jury's answer
10 9
Checker comment
v1=0.0833527 v2=0.0833527
ok Correct :-|
 
 
66
Time: 15 ms, memory: 4 KB
Verdict: OK
Input
3
1 0
10000 -1
1 1
Participant's output
1 2
Jury's answer
2 1
Checker comment
v1=0.0001 v2=0.0001
ok Correct :-|
 
 
67
Time: 62 ms, memory: 3060 KB
Verdict: OK
Input
99992
1 1
1 -1
-1 1
-1 -1
2 1
2 -1
-2 1
-2 -1
3 1
3 -1
-3 1
-3 -1
4 1
4 -1
-4 1
-4 -1
5 1
5 -1
-5 1
-5 -1
6 1
6 -1
-6 1
-6 -1
7 1
7 -1
-7 1
-7 -1
8 1
8 -1
-8 1
-8 -1
9 1
9 -1
-9 1
-9 -1
10 1
10 -1
-10 1
-10 -1
11 1
11 -1
-11 1
-11 -1
12 1
12 -1
-12 1
-12 -1
13 1
13 -1
-13 1
-13 -1
14 1
14 -1
-14 1
-14 -1
15 1
15 -1
-15 1
-15 -1
16 1
16 -1
-16 1
-16 -1
17 1
17 -1
-17 1
-17 -1
18 1
18 -1
-18 1
-18 -1
19 1
19 -1
-19 1
-19 -1
20 1
20...
Participant's output
99989 99985
Jury's answer
39997 39993
Checker comment
v1=1.0001e-008 v2=1.0001e-008
ok Correct :-|
 
 
68
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
4
-7125 -1643
-1235 4071
-75 -8717
2553 9278
Participant's output
2 4
Jury's answer
4 2
Checker comment
v1=0.563063 v2=0.563063
ok Correct :-|
 
 
69
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
5
-6 0
6 1
6 -1
0 6
0 -6
Participant's output
2 3
Jury's answer
3 2
Checker comment
v1=0.330297 v2=0.330297
ok Correct :-|
 
 
70
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
4
5 5
5 -5
-555 1
-555 -1
Participant's output
4 3
Jury's answer
3 4
Checker comment
v1=0.0036036 v2=0.0036036
ok Correct :-|
 
 
71
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
4
1 1
-1 1
-1 -1
2 -1
Participant's output
1 4
Jury's answer
4 1
Checker comment
v1=1.24905 v2=1.24905
ok Correct :-|
 
 
72
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
4
-1 -100
1 -100
-100 -100
100 -100
Participant's output
2 1
Jury's answer
1 2
Checker comment
v1=0.0199993 v2=0.0199993
ok Correct :-|
 
 
73
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
3
1 0
1 -1
-4 -6
Participant's output
1 2
Jury's answer
2 1
Checker comment
v1=0.785398 v2=0.785398
ok Correct :-|
 
 
74
Time: 0 ms, memory: 4 KB
Verdict: OK
Input
4
-1 -100
1 -100
100 -100
-100 -100
Participant's output
2 1
Jury's answer
1 2
Checker comment
v1=0.0199993 v2=0.0199993
ok Correct :-|
 
 
75
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
4
-1 0
0 -2
-3 3
4 0
Participant's output
1 3
Jury's answer
3 1
Checker comment
v1=0.785398 v2=0.785398
ok Correct :-|
 
 
76
Time: 0 ms, memory: 4 KB
Verdict: OK
Input
4
-2 0
0 -3
-5 5
4 0
Participant's output
1 3
Jury's answer
3 1
Checker comment
v1=0.785398 v2=0.785398
ok Correct :-|
 
 
77
Time: 15 ms, memory: 4 KB
Verdict: OK
Input
3
1 -100
0 100
-1 -100
Participant's output
1 3
Jury's answer
3 1
Checker comment
v1=0.0199993 v2=0.0199993
ok Correct :-|
 
 
78
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
5
10000 2
10000 -1
10000 -5
10000 -9
10000 -13
Participant's output
1 2
Jury's answer
2 1
Checker comment
v1=0.0003 v2=0.0003
ok Correct :-|
 
 
79
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
8
-9580 8545
-9379 -1139
5824 -391
-8722 2765
-1357 -5547
-7700 217
9323 -7008
957 -8356
Participant's output
2 6
Jury's answer
6 2
Checker comment
v1=0.149024 v2=0.149024
ok Correct :-|
 
 
80
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
4
5 5
5 -5
-500 1
-500 -1
Participant's output
4 3
Jury's answer
3 4
Checker comment
v1=0.00399999 v2=0.00399999
ok Correct :-|
 
 
81
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
3
30 1
30 -1
0 30
Participant's output
1 2
Jury's answer
2 1
Checker comment
v1=0.066642 v2=0.066642
ok Correct :-|
 
 
82
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
4
3966 -1107
8007 -5457
-7753 4945
-2209 -4221
Participant's output
1 2
Jury's answer
2 1
Checker comment
v1=0.326026 v2=0.326026
ok Correct :-|
 
 
83
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
4
1 9999
0 1
10000 0
10000 -1
Participant's output
3 4
Jury's answer
4 3
Checker comment
v1=0.0001 v2=0.0001
ok Correct :-|
 
 
84
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
3
10000 1
10000 -1
-10000 0
Participant's output
1 2
Jury's answer
2 1
Checker comment
v1=0.0002 v2=0.0002
ok Correct :-|
 
 
85
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
13
1 2
2 3
3 4
4 5
5 6
6 7
7 8
8 9
9 10
10 11
11 12
13 14
12 13
Participant's output
13 12
Jury's answer
12 13
Checker comment
v1=0.00295857 v2=0.00295857
ok Correct :-|
 
 
86
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
4
2 1
2 -1
0 1
-1 0
Participant's output
1 2
Jury's answer
2 1
Checker comment
v1=0.927295 v2=0.927295
ok Correct :-|
 
 
87
Time: 0 ms, memory: 4 KB
Verdict: OK
Input
4
10 3
10 -3
-500 1
-500 -1
Participant's output
4 3
Jury's answer
3 4
Checker comment
v1=0.00399999 v2=0.00399999
ok Correct :-|
 
 
88
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
4
1 10000
-1 1
10000 0
10000 -1
Participant's output
3 4
Jury's answer
4 3
Checker comment
v1=0.0001 v2=0.0001
ok Correct :-|
 
 
89
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
3
0 1
1 0
1 -1
Participant's output
2 3
Jury's answer
3 2
Checker comment
v1=0.785398 v2=0.785398
ok Correct :-|
 
 
90
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
3
1 0
0 1
1 -1
Participant's output
1 3
Jury's answer
3 1
Checker comment
v1=0.785398 v2=0.785398
ok Correct :-|
 
 
91
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
4
1 1
-1 1
1 -2
-1 -2
Participant's output
3 4
Jury's answer
4 3
Checker comment
v1=0.927295 v2=0.927295
ok Correct :-|
 
 
92
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
4
0 -1
-1 0
-1 1
1 0
Participant's output
2 3
Jury's answer
3 2
Checker comment
v1=0.785398 v2=0.785398
ok Correct :-|
 
 
93
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
3
-100 1
-100 -1
1 1
Participant's output
2 1
Jury's answer
1 2
Checker comment
v1=0.0199993 v2=0.0199993
ok Correct :-|
 
 
94
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
3
-3 1
-3 -1
2 -3
Participant's output
2 1
Jury's answer
1 2
Checker comment
v1=0.643501 v2=0.643501
ok Correct :-|
 
 
95
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
3
1 -1
1 0
0 1
Participant's output
2 1
Jury's answer
1 2
Checker comment
v1=0.785398 v2=0.785398
ok Correct :-|
 
 
96
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
5
-5 1
0 5
4 1
0 -4
-5 -1
Participant's output
5 1
Jury's answer
1 5
Checker comment
v1=0.394791 v2=0.394791
ok Correct :-|
 
 
97
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
4
1 10000
0 1
10000 0
9999 -1
Participant's output
2 1
Jury's answer
1 2
Checker comment
v1=0.0001 v2=0.0001
ok Correct :-|
 
 
98
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
4
2 3
2 -3
-3 2
-3 -2
Participant's output
4 3
Jury's answer
3 4
Checker comment
v1=1.17601 v2=1.17601
ok Correct :-|
 
 
99
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
3
1 -3
1 0
0 1
Participant's output
2 1
Jury's answer
1 2
Checker comment
v1=1.24905 v2=1.24905
ok Correct :-|
 
 
100
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
3
1 0
-1 0
-1 -1
Participant's output
3 2
Jury's answer
2 3
Checker comment
v1=0.785398 v2=0.785398
ok Correct :-|
 
 
101
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
4
-2 1
-2 -1
1 1
1 -1
Participant's output
2 1
Jury's answer
1 2
Checker comment
v1=0.927295 v2=0.927295
ok Correct :-|
 
 
102
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
3
1 -1
-1 1
-1 -2
Participant's output
1 3
Jury's answer
3 1
Checker comment
v1=1.24905 v2=1.24905
ok Correct :-|
 
 
103
Time: 0 ms, memory: 4 KB
Verdict: OK
Input
3
1 0
-1 -1
1 -1
Participant's output
1 3
Jury's answer
3 1
Checker comment
v1=0.785398 v2=0.785398
ok Correct :-|
 
 
104
Time: 0 ms, memory: 508 KB
Verdict: OK
Input
10000
0 1
1 1
2 1
3 1
4 1
5 1
6 1
7 1
8 1
9 1
10 1
11 1
12 1
13 1
14 1
15 1
16 1
17 1
18 1
19 1
20 1
21 1
22 1
23 1
24 1
25 1
26 1
27 1
28 1
29 1
30 1
31 1
32 1
33 1
34 1
35 1
36 1
37 1
38 1
39 1
40 1
41 1
42 1
43 1
44 1
45 1
46 1
47 1
48 1
49 1
50 1
51 1
52 1
53 1
54 1
55 1
56 1
57 1
58 1
59 1
60 1
61 1
62 1
63 1
64 1
65 1
66 1
67 1
68 1
69 1
70 1
71 1
72 1
73 1
74 1
75 1
76 1
77 1
78 1
79 1
80 1
81 1
82 1
83 1
84 1
85 1...
Participant's output
9999 10000
Jury's answer
10000 9999
Checker comment
v1=1.0003e-008 v2=1.0003e-008
ok Correct :-|
 
 
105
Time: 0 ms, memory: 500 KB
Verdict: OK
Input
10000
1 0
1 1
1 2
1 3
1 4
1 5
1 6
1 7
1 8
1 9
1 10
1 11
1 12
1 13
1 14
1 15
1 16
1 17
1 18
1 19
1 20
1 21
1 22
1 23
1 24
1 25
1 26
1 27
1 28
1 29
1 30
1 31
1 32
1 33
1 34
1 35
1 36
1 37
1 38
1 39
1 40
1 41
1 42
1 43
1 44
1 45
1 46
1 47
1 48
1 49
1 50
1 51
1 52
1 53
1 54
1 55
1 56
1 57
1 58
1 59
1 60
1 61
1 62
1 63
1 64
1 65
1 66
1 67
1 68
1 69
1 70
1 71
1 72
1 73
1 74
1 75
1 76
1 77
1 78
1 79
1 80
1 81
1 82
1 83
1 84
1 85...
Participant's output
10000 9999
Jury's answer
9999 10000
Checker comment
v1=1.0003e-008 v2=1.0003e-008
ok Correct :-|
 
 
106
Time: 15 ms, memory: 8 KB
Verdict: OK
Input
3
5 5
-5 0
5 -5
Participant's output
1 3
Jury's answer
3 1
Checker comment
v1=1.5708 v2=1.5708
ok Correct :-|
 
 
107
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
4
1 -2
1 0
-1 0
10 -1
Participant's output
2 4
Jury's answer
4 2
Checker comment
v1=0.0996687 v2=0.0996687
ok Correct :-|
 
 
108
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
3
-1000 1
-1000 -1
1000 0
Participant's output
2 1
Jury's answer
1 2
Checker comment
v1=0.002 v2=0.002
ok Correct :-|
 
 
109
Time: 15 ms, memory: 4 KB
Verdict: OK
Input
6
1 1
1 -1
-1 1
-1 -1
1 -10000
-1 -10000
Participant's output
5 6
Jury's answer
6 5
Checker comment
v1=0.0002 v2=0.0002
ok Correct :-|
 
 
110
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
3
1 1
-1 0
0 -1
Participant's output
3 2
Jury's answer
2 3
Checker comment
v1=1.5708 v2=1.5708
ok Correct :-|
 
 
111
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
4
5000 1
5000 -1
-2 -1
2 -1
Participant's output
1 2
Jury's answer
2 1
Checker comment
v1=0.0004 v2=0.0004
ok Correct :-|
 
 
112
Time: 0 ms, memory: 4 KB
Verdict: OK
Input
3
1 0
-1 1
-1 -5
Participant's output
1 3
Jury's answer
3 1
Checker comment
v1=1.76819 v2=1.76819
ok Correct :-|
 
 
113
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
3
-5374 1323
-4463 -8462
6118 -7918
Participant's output
3 2
Jury's answer
2 3
Checker comment
v1=1.14319 v2=1.14319
ok Correct :-|
 
 
114
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
4
-6427 -6285
-5386 -5267
-3898 7239
-3905 7252
Participant's output
3 4
Jury's answer
4 3
Checker comment
v1=1.47669e-008 v2=1.47669e-008
ok Correct :-|
 
 
115
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
10
-7 -3
-2 8
9 -9
0 1
4 5
5 3
-3 0
10 2
4 -1
2 -10
Participant's output
2 4
Jury's answer
4 2
Checker comment
v1=0.244979 v2=0.244979
ok Correct :-|
 
 
116
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
4
9999 1
9999 -1
-9998 1
-10000 -1
Participant's output
1 2
Jury's answer
2 1
Checker comment
v1=0.00020002 v2=0.00020002
ok Correct :-|
 
 
117
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
4
10000 9999
9999 9998
9998 9997
9997 9996
Participant's output
1 2
Jury's answer
2 1
Checker comment
v1=5.001e-009 v2=5.001e-009
ok Correct :-|
 
 
118
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
4
-6285 -6427
-5267 -5386
7239 -3898
7252 -3905
Participant's output
4 3
Jury's answer
3 4
Checker comment
v1=1.47669e-008 v2=1.47669e-008
ok Correct :-|
 
 
119
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
4
-6427 6285
-5386 5267
3898 -7239
3905 -7252
Participant's output
3 4
Jury's answer
4 3
Checker comment
v1=1.47669e-008 v2=1.47669e-008
ok Correct :-|
 
 
120
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
4
-6427 -6285
-5386 -5267
-3898 -7239
-3905 -7252
Participant's output
4 3
Jury's answer
3 4
Checker comment
v1=1.47669e-008 v2=1.47669e-008
ok Correct :-|
 
 
121
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
3
0 1
-1 -1
1 -1
Participant's output
3 2
Jury's answer
2 3
Checker comment
v1=1.5708 v2=1.5708
ok Correct :-|
 
 
122
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
4
10000 1
9998 -1
-9999 1
-9999 -1
Participant's output
4 3
Jury's answer
3 4
Checker comment
v1=0.00020002 v2=0.00020002
ok Correct :-|
 
 
123
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
3
100 0
100 2
100 -1
Participant's output
1 3
Jury's answer
3 1
Checker comment
v1=0.00999967 v2=0.00999967
ok Correct :-|
 
 
124
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
3
-1 1
-1 -1
1 0
Participant's output
2 1
Jury's answer
1 2
Checker comment
v1=1.5708 v2=1.5708
ok Correct :-|
 
 
125
Time: 0 ms, memory: 0 KB
Verdict: OK
Input
4
9844 9986
181 9967
-9812 -9925
-194 -9900
Participant's output
2 1
Jury's answer
1 2
Checker comment
v1=0.760079 v2=0.760079
ok Correct :-|
 
 
126
Time: 15 ms, memory: 0 KB
Verdict: OK
Input
4
9800 9981
61 9899
-9926 -9932
-149 -9926
Participant's output
4 3
Jury's answer
3 4
Checker comment
v1=0.770086 v2=0.770086
ok Correct :-|
 
 
127
Time: 15 ms, memory: 0 KB
Verdict: WRONG_ANSWER
Input
4
-9901 9900
-10000 9899
9899 9801
9899 9900
Participant's output
2 1
Jury's answer
3 4
Checker comment
v1=0.00502509 v2=0.00502509
wrong answer Jury answer is better than participant's :-)