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 io.Source | |
| import java.awt.font.GlyphVector | |
| import java.awt.{Font, Graphics2D, Color} | |
| import java.awt.RenderingHints._ | |
| import java.awt.geom.{Rectangle2D, Ellipse2D} | |
| import java.awt.image.BufferedImage | |
| import java.io.{File, ByteArrayInputStream} | |
| import javax.imageio.ImageIO | |
| // Change anything in this block to change how the input is interpreted |
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 collection.mutable | |
| import io.Source | |
| import java.io.FileInputStream | |
| def toIntOption(s: String): Option[Int] = try { Some(s.toInt) } catch { case e: NumberFormatException => None } | |
| val intArgs = args.map(toIntOption).flatten | |
| if (args.length != 2 && intArgs.length != 2) { | |
| System.err.println("usage: <x_column_number> <y_column_number>") |
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
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <groupId>com.example</groupId> | |
| <artifactId>your-scoobi-app-name</artifactId> | |
| <version>1.0-SNAPSHOT</version> | |
| <packaging>jar</packaging> | |
| <properties> |
NewerOlder