This file contains 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 java.io.*; | |
import java.util.LinkedList; | |
import java.util.List; | |
public class Hard162 { | |
public static void main(String[] args) { | |
if(args.length < 3) err("<Error: too few arguments>"); | |
if(args.length > 3) err("<Error: too many arguments>"); | |
if(!args[0].equals("-d") && !args[0].equals("-c")) err("<Error: unknown operation>"); |
NewerOlder