This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Option Explicit On | |
| Option Strict On | |
| Imports System.Math | |
| Public Class Form1 | |
| Function vvod(ByVal Input As TextBox) As Double | |
| Return CDbl(Input.Text) | |
| End Function | |
| 'Function countValue(ByVal a As Double, ByVal b As Double, ByVal c As Double, ByVal x As Double) As Double |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| n = int(input()) | |
| m = int(input()) | |
| wires = [] | |
| for i in range(m): | |
| wire = list(map(int, input().split())) | |
| wires.append(wire) | |
| broken_count = int(input()) | |
| broken_wires = list(map(int, input().split(' '))) |
NewerOlder