QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#90208 | #4005. Frog | TTW# | AC ✓ | 42ms | 3868kb | C++17 | 1.9kb | 2023-03-22 14:53:06 | 2023-03-22 14:54:26 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 2ms
memory: 3748kb
input:
3 0 0 0 90 180 0
output:
0 1.000000000000 0.000000000000 2 1.000000000000 0.000000000000 1.000000000000 1.000000000000 0.000000000000 1.000000000000 4 -1.000000000000 0.000000000000 -1.000000000000 1.000000000000 0.000000000000 1.000000000000 1.000000000000 1.000000000000 1.000000000000 0.000000000000
result:
ok ok
Test #2:
score: 0
Accepted
time: 34ms
memory: 3760kb
input:
10000 194 96 89 164 139 41 323 35 185 221 0 275 53 116 233 79 209 91 236 12 94 291 332 293 207 31 133 329 60 114 1 91 273 103 69 193 220 303 100 118 42 15 331 201 26 103 347 292 184 148 307 197 84 326 52 224 257 27 3 99 310 26 138 288 112 17 206 159 302 104 58 121 276 268 236 134 281 173 147 128 72 ...
output:
3 -0.970295726276 -0.241921895600 -1.212217621876 0.728373830676 -0.850392697115 1.660619894665 -0.104528463268 0.994521895368 2 0.017452406437 0.999847695156 -0.943809289501 1.275485050973 -0.961261695938 0.275637355817 3 -0.754709580223 0.656059028991 -0.098650551232 1.410768609213 0.872534968791 ...
result:
ok ok
Test #3:
score: 0
Accepted
time: 36ms
memory: 3868kb
input:
10000 314 60 275 193 40 10 10 63 165 179 319 67 47 253 268 76 132 305 95 212 83 236 161 36 104 264 354 142 213 8 155 146 148 15 314 90 230 218 322 69 23 9 296 167 263 26 327 296 210 14 221 49 193 338 228 90 47 48 42 167 293 283 9 342 175 62 223 266 181 118 207 51 131 331 215 284 297 84 136 244 3 232...
output:
3 0.694658370459 -0.719339800339 1.413998170798 -0.024681429880 1.494359845284 0.972084340637 0.500000000000 0.866025403784 2 0.087155742748 -0.996194698092 -0.887214322038 -1.221145752436 -0.974370064785 -0.224951054344 2 0.766044443119 0.642787609687 1.750852196131 0.816435787353 0.984807753012 0....
result:
ok ok
Test #4:
score: 0
Accepted
time: 35ms
memory: 3816kb
input:
10000 0 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 0 16 0 17 0 18 0 19 0 20 0 21 0 22 0 23 0 24 0 25 0 26 0 27 0 28 0 29 0 30 0 31 0 32 0 33 0 34 0 35 0 36 0 37 0 38 0 39 0 40 0 41 0 42 0 43 0 44 0 45 0 46 0 47 0 48 0 49 0 50 0 51 0 52 0 53 0 54 0 55 0 56 0 57 0 58 0 59 0 60...
output:
0 1.000000000000 0.000000000000 2 1.000000000000 0.000000000000 1.999847695156 0.017452406437 0.999847695156 0.017452406437 2 1.000000000000 0.000000000000 1.999390827019 0.034899496703 0.999390827019 0.034899496703 2 1.000000000000 0.000000000000 1.998629534755 0.052335956243 0.998629534755 0.05233...
result:
ok ok
Test #5:
score: 0
Accepted
time: 28ms
memory: 3728kb
input:
10000 27 280 27 281 27 282 27 283 27 284 27 285 27 286 27 287 27 288 27 289 27 290 27 291 27 292 27 293 27 294 27 295 27 296 27 297 27 298 27 299 27 300 27 301 27 302 27 303 27 304 27 305 27 306 27 307 27 308 27 309 27 310 27 311 27 312 27 313 27 314 27 315 27 316 27 317 27 318 27 319 27 320 27 321 ...
output:
3 0.891006524188 0.453990499740 1.344997023928 -0.437016024449 1.082491044874 -1.401946390310 0.173648177667 -0.984807753012 3 0.891006524188 0.453990499740 1.344997023928 -0.437016024449 1.096465287588 -1.405639778046 0.190808995377 -0.981627183448 3 0.891006524188 0.453990499740 1.344997023928 -0....
result:
ok ok
Test #6:
score: 0
Accepted
time: 31ms
memory: 3852kb
input:
10000 55 200 55 201 55 202 55 203 55 204 55 205 55 206 55 207 55 208 55 209 55 210 55 211 55 212 55 213 55 214 55 215 55 216 55 217 55 218 55 219 55 220 55 221 55 222 55 223 55 224 55 225 55 226 55 227 55 228 55 229 55 230 55 231 55 232 55 233 55 234 55 235 55 236 55 237 55 238 55 239 55 240 55 241 ...
output:
4 0.573576436351 0.819152044289 -0.245575607938 1.392728480640 -1.224688614904 1.596045276773 -1.281712764112 0.597672477460 -0.939692620786 -0.342020143326 4 0.573576436351 0.819152044289 -0.245575607938 1.392728480640 -1.229148729558 1.573238631119 -1.291948376043 0.575212476952 -0.933580426497 -0...
result:
ok ok
Test #7:
score: 0
Accepted
time: 28ms
memory: 3840kb
input:
10000 83 120 83 121 83 122 83 123 83 124 83 125 83 126 83 127 83 128 83 129 83 130 83 131 83 132 83 133 83 134 83 135 83 136 83 137 83 138 83 139 83 140 83 141 83 142 83 143 83 144 83 145 83 146 83 147 83 148 83 149 83 150 83 151 83 152 83 153 83 154 83 155 83 156 83 157 83 158 83 159 83 160 83 161 ...
output:
2 0.121869343405 0.992546151641 -0.378130656595 1.858571555426 -0.500000000000 0.866025403784 2 0.121869343405 0.992546151641 -0.393168731505 1.849713452343 -0.515038074910 0.857167300702 2 0.121869343405 0.992546151641 -0.408049920828 1.840594247798 -0.529919264233 0.848048096156 2 0.121869343405 0...
result:
ok ok
Test #8:
score: 0
Accepted
time: 30ms
memory: 3792kb
input:
10000 111 40 111 41 111 42 111 43 111 44 111 45 111 46 111 47 111 48 111 49 111 50 111 51 111 52 111 53 111 54 111 55 111 56 111 57 111 58 111 59 111 60 111 61 111 62 111 63 111 64 111 65 111 66 111 67 111 68 111 69 111 70 111 71 111 72 111 73 111 74 111 75 111 76 111 77 111 78 111 79 111 80 111 81 ...
output:
2 -0.358367949545 0.933580426497 0.407676493574 1.576368036184 0.766044443119 0.642787609687 2 -0.358367949545 0.933580426497 0.396341630677 1.589639455488 0.754709580223 0.656059028991 2 -0.358367949545 0.933580426497 0.384776875932 1.602711032856 0.743144825477 0.669130606359 2 -0.358367949545 0.9...
result:
ok ok
Test #9:
score: 0
Accepted
time: 42ms
memory: 3848kb
input:
10000 138 320 138 321 138 322 138 323 138 324 138 325 138 326 138 327 138 328 138 329 138 330 138 331 138 332 138 333 138 334 138 335 138 336 138 337 138 338 138 339 138 340 138 341 138 342 138 343 138 344 138 345 138 346 138 347 138 348 138 349 138 350 138 351 138 352 138 353 138 354 138 355 138 35...
output:
4 -0.743144825477 0.669130606359 -0.074014219119 1.412275431836 0.789969974126 0.908756500888 1.408832052806 0.123256833432 0.766044443119 -0.642787609687 4 -0.743144825477 0.669130606359 -0.074014219119 1.412275431836 0.814800642120 0.954008978294 1.406466352507 0.147825570407 0.777145961457 -0.629...
result:
ok ok
Test #10:
score: 0
Accepted
time: 26ms
memory: 3840kb
input:
10000 166 240 166 241 166 242 166 243 166 244 166 245 166 246 166 247 166 248 166 249 166 250 166 251 166 252 166 253 166 254 166 255 166 256 166 257 166 258 166 259 166 260 166 261 166 262 166 263 166 264 166 265 166 266 166 267 166 268 166 269 166 270 166 271 166 272 166 273 166 274 166 275 166 27...
output:
2 -0.970295726276 0.241921895600 -1.470295726276 -0.624103508185 -0.500000000000 -0.866025403784 2 -0.970295726276 0.241921895600 -1.455105346522 -0.632697811540 -0.484809620246 -0.874619707139 2 -0.970295726276 0.241921895600 -1.439767289062 -0.641025697259 -0.469471562786 -0.882947592859 2 -0.9702...
result:
ok ok
Test #11:
score: 0
Accepted
time: 34ms
memory: 3756kb
input:
10000 194 160 194 161 194 162 194 163 194 164 194 165 194 166 194 167 194 168 194 169 194 170 194 171 194 172 194 173 194 174 194 175 194 176 194 177 194 178 194 179 194 180 194 181 194 182 194 183 194 184 194 185 194 186 194 187 194 188 194 189 194 190 194 191 194 192 194 193 194 194 194 195 194 19...
output:
2 -0.970295726276 -0.241921895600 -1.909988347062 0.100098247726 -0.939692620786 0.342020143326 2 -0.970295726276 -0.241921895600 -1.915814301875 0.083646258857 -0.945518575599 0.325568154457 2 -0.970295726276 -0.241921895600 -1.921352242571 0.067095098775 -0.951056516295 0.309016994375 2 -0.9702957...
result:
ok ok
Test #12:
score: 0
Accepted
time: 31ms
memory: 3852kb
input:
10000 222 80 222 81 222 82 222 83 222 84 222 85 222 86 222 87 222 88 222 89 222 90 222 91 222 92 222 93 222 94 222 95 222 96 222 97 222 98 222 99 222 100 222 101 222 102 222 103 222 104 222 105 222 106 222 107 222 108 222 109 222 110 222 111 222 112 222 113 222 114 222 115 222 116 222 117 222 118 22...
output:
4 -0.743144825477 -0.669130606359 -1.412275431836 0.074014219119 -1.797979972092 0.996636572861 -0.811159575345 1.158455930679 0.173648177667 0.984807753012 4 -0.743144825477 -0.669130606359 -1.412275431836 0.074014219119 -1.818927777199 0.987597203861 -0.831253875555 1.144122805635 0.156434465040 0...
result:
ok ok
Test #13:
score: 0
Accepted
time: 26ms
memory: 3764kb
input:
10000 250 0 250 1 250 2 250 3 250 4 250 5 250 6 250 7 250 8 250 9 250 10 250 11 250 12 250 13 250 14 250 15 250 16 250 17 250 18 250 19 250 20 250 21 250 22 250 23 250 24 250 25 250 26 250 27 250 28 250 29 250 30 250 31 250 32 250 33 250 34 250 35 250 36 250 37 250 38 250 39 250 40 250 41 250 42 250...
output:
3 -0.342020143326 -0.939692620786 0.597672477460 -1.281712764112 1.505666279468 -0.862729165966 1.000000000000 0.000000000000 3 -0.342020143326 -0.939692620786 0.597672477460 -1.281712764112 1.499183314438 -0.848956238093 0.999847695156 0.017452406437 3 -0.342020143326 -0.939692620786 0.597672477460...
result:
ok ok
Test #14:
score: 0
Accepted
time: 30ms
memory: 3760kb
input:
10000 277 280 277 281 277 282 277 283 277 284 277 285 277 286 277 287 277 288 277 289 277 290 277 291 277 292 277 293 277 294 277 295 277 296 277 297 277 298 277 299 277 300 277 301 277 302 277 303 277 304 277 305 277 306 277 307 277 308 277 309 277 310 277 311 277 312 277 313 277 314 277 315 277 31...
output:
2 0.121869343405 -0.992546151641 0.295517521072 -1.977353904654 0.173648177667 -0.984807753012 2 0.121869343405 -0.992546151641 0.312678338782 -1.974173335089 0.190808995377 -0.981627183448 2 0.121869343405 -0.992546151641 0.329781034223 -1.970693752375 0.207911690818 -0.978147600734 2 0.12186934340...
result:
ok ok
Test #15:
score: 0
Accepted
time: 30ms
memory: 3756kb
input:
10000 305 200 305 201 305 202 305 203 305 204 305 205 305 206 305 207 305 208 305 209 305 210 305 211 305 212 305 213 305 214 305 215 305 216 305 217 305 218 305 219 305 220 305 221 305 222 305 223 305 224 305 225 305 226 305 227 305 228 305 229 305 230 305 231 305 232 305 233 305 234 305 235 305 23...
output:
3 0.573576436351 -0.819152044289 -0.245575607938 -1.392728480640 -1.240847023522 -1.295595534007 -0.939692620786 -0.342020143326 3 0.573576436351 -0.819152044289 -0.245575607938 -1.392728480640 -1.242112923615 -1.309581752127 -0.933580426497 -0.358367949545 3 0.573576436351 -0.819152044289 -0.245575...
result:
ok ok
Test #16:
score: 0
Accepted
time: 37ms
memory: 3784kb
input:
9600 333 120 333 121 333 122 333 123 333 124 333 125 333 126 333 127 333 128 333 129 333 130 333 131 333 132 333 133 333 134 333 135 333 136 333 137 333 138 333 139 333 140 333 141 333 142 333 143 333 144 333 145 333 146 333 147 333 148 333 149 333 150 333 151 333 152 333 153 333 154 333 155 333 156...
output:
4 0.891006524188 -0.453990499740 1.344997023928 0.437016024449 1.363514575218 1.436844559896 0.366025403784 1.366025403784 -0.500000000000 0.866025403784 4 0.891006524188 -0.453990499740 1.344997023928 0.437016024449 1.340027607472 1.437003676823 0.342129225792 1.372205375612 -0.515038074910 0.85716...
result:
ok ok