(self)
| 429 | self.copyright_label.place(relx=0.9, y=0) |
| 430 | |
| 431 | def submit(self): |
| 432 | try: |
| 433 | self.t = int(self.test_case_count.get()) |
| 434 | if self.t == 0 or self.t > 10000: |
| 435 | return |
| 436 | except ValueError: |
| 437 | return |
| 438 | except AttributeError: |
| 439 | pass |
| 440 | try: |
| 441 | self.n_min = min( |
| 442 | int(self.minimum_value_of_n.get()), int(self.maximum_value_of_n.get()) |
| 443 | ) |
| 444 | self.n_max = max( |
| 445 | int(self.minimum_value_of_n.get()), int(self.maximum_value_of_n.get()) |
| 446 | ) |
| 447 | if self.n_min > self.n_max or self.n_max == 0 or self.n_max > 10000000: |
| 448 | return |
| 449 | except ValueError: |
| 450 | return |
| 451 | except AttributeError: |
| 452 | pass |
| 453 | try: |
| 454 | self.m_min = min( |
| 455 | int(self.minimum_value_of_m.get()), int(self.maximum_value_of_m.get()) |
| 456 | ) |
| 457 | self.m_max = max( |
| 458 | int(self.minimum_value_of_m.get()), int(self.maximum_value_of_m.get()) |
| 459 | ) |
| 460 | if self.m_min > self.m_max or self.m_max == 0 or self.m_max > 10000000: |
| 461 | return |
| 462 | except ValueError: |
| 463 | return |
| 464 | except AttributeError: |
| 465 | pass |
| 466 | try: |
| 467 | self.k_min = min( |
| 468 | int(self.minimum_value_of_k.get()), int(self.maximum_value_of_k.get()) |
| 469 | ) |
| 470 | self.k_max = max( |
| 471 | int(self.minimum_value_of_k.get()), int(self.maximum_value_of_k.get()) |
| 472 | ) |
| 473 | if self.k_min > self.k_max or self.k_max == 0 or self.k_max > 10000000: |
| 474 | return |
| 475 | except ValueError: |
| 476 | return |
| 477 | except AttributeError: |
| 478 | pass |
| 479 | try: |
| 480 | self.a_min = min( |
| 481 | int(self.minimum_value_of_ai.get()), int(self.maximum_value_of_ai.get()) |
| 482 | ) |
| 483 | self.a_max = max( |
| 484 | int(self.minimum_value_of_ai.get()), int(self.maximum_value_of_ai.get()) |
| 485 | ) |
| 486 | if self.a_min > self.a_max or self.a_max == 0 or self.a_max > 10000000: |
| 487 | return |
| 488 | except ValueError: |
no test coverage detected