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
import re | |
class InputScanner(object): | |
def __init__(self, filename, parse_function): | |
with open(filename) as f: | |
self.reversed_lines = list(reversed(f.read().split('\n'))) | |
self.case_count = 0 | |
self.total_cases = self.next_int() | |
self.parse_function = parse_function |
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
/// This example uses google_maps_flutter: ^0.5.21+8 | |
/// For guide on how to setup google maps flutter, visit | |
/// https://pub.dev/packages/google_maps_flutter | |
/// Preview of this example is available at https://kutt.it/2VlCi9 | |
import 'dart:async'; | |
import 'dart:math'; | |
import 'dart:ui'; | |
import 'package:flutter/material.dart'; |
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
package main | |
import ( | |
"net" | |
"log" | |
"io" | |
"fmt" | |
) | |
func main() { |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>UI</title> | |
<style type="text/css"> | |
#loader { | |
min-height: 100vh; | |
display: flex; |