█████████ ████ ███░░░░░███ ░░███ ███ ░░░ ██████ ███████ ██████ ██████ ░███ ███░░███ ███░░███ ███░░███ ███░░███ ░███ ░███ ░███░███ ░███ ░███████ ░███ ░███ ░░███ ███░███ ░███░███ ░███ ░███░░░ ░███ ░███ ░░█████████ ░░██████ ░░████████░░██████ ░░██████ ░░░░░░░░░ ░░░░░░ ░░░░░░░░ ░░░░░░ ░░░░░░

Envío 1695

Problema 0x9d - ¿Está ordenado?

  • Autor: JulianMi12
  • Fecha: 2020-11-06 18:43:05 UTC (Hace 9 meses)
Caso # Resultado Tiempo Memoria
#1
Error de compilación
                      Main.java:7: error: cannot find symbol
    static BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
           ^
  symbol:   class BufferedReader
  location: class Main
Main.java:9: error: cannot find symbol
    public static void main(String[] args) throws IOException {
                                                  ^
  symbol:   class IOException
  location: class Main
Main.java:7: error: cannot find symbol
    static BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
                                   ^
  symbol:   class BufferedReader
  location: class Main
Main.java:7: error: cannot find symbol
    static BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
                                                      ^
  symbol:   class InputStreamReader
  location: class Main
4 errors

                    
#2
Error de compilación
                      Main.java:7: error: cannot find symbol
    static BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
           ^
  symbol:   class BufferedReader
  location: class Main
Main.java:9: error: cannot find symbol
    public static void main(String[] args) throws IOException {
                                                  ^
  symbol:   class IOException
  location: class Main
Main.java:7: error: cannot find symbol
    static BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
                                   ^
  symbol:   class BufferedReader
  location: class Main
Main.java:7: error: cannot find symbol
    static BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
                                                      ^
  symbol:   class InputStreamReader
  location: class Main
4 errors

                    
#3
Error de compilación
                      Main.java:7: error: cannot find symbol
    static BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
           ^
  symbol:   class BufferedReader
  location: class Main
Main.java:9: error: cannot find symbol
    public static void main(String[] args) throws IOException {
                                                  ^
  symbol:   class IOException
  location: class Main
Main.java:7: error: cannot find symbol
    static BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
                                   ^
  symbol:   class BufferedReader
  location: class Main
Main.java:7: error: cannot find symbol
    static BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
                                                      ^
  symbol:   class InputStreamReader
  location: class Main
4 errors

                    
#4
Error de compilación
                      Main.java:7: error: cannot find symbol
    static BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
           ^
  symbol:   class BufferedReader
  location: class Main
Main.java:9: error: cannot find symbol
    public static void main(String[] args) throws IOException {
                                                  ^
  symbol:   class IOException
  location: class Main
Main.java:7: error: cannot find symbol
    static BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
                                   ^
  symbol:   class BufferedReader
  location: class Main
Main.java:7: error: cannot find symbol
    static BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
                                                      ^
  symbol:   class InputStreamReader
  location: class Main
4 errors

                    
#5
Error de compilación
                      Main.java:7: error: cannot find symbol
    static BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
           ^
  symbol:   class BufferedReader
  location: class Main
Main.java:9: error: cannot find symbol
    public static void main(String[] args) throws IOException {
                                                  ^
  symbol:   class IOException
  location: class Main
Main.java:7: error: cannot find symbol
    static BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
                                   ^
  symbol:   class BufferedReader
  location: class Main
Main.java:7: error: cannot find symbol
    static BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
                                                      ^
  symbol:   class InputStreamReader
  location: class Main
4 errors

                    
#6
Error de compilación
                      Main.java:7: error: cannot find symbol
    static BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
           ^
  symbol:   class BufferedReader
  location: class Main
Main.java:9: error: cannot find symbol
    public static void main(String[] args) throws IOException {
                                                  ^
  symbol:   class IOException
  location: class Main
Main.java:7: error: cannot find symbol
    static BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
                                   ^
  symbol:   class BufferedReader
  location: class Main
Main.java:7: error: cannot find symbol
    static BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
                                                      ^
  symbol:   class InputStreamReader
  location: class Main
4 errors

                    
#7
Error de compilación
                      Main.java:7: error: cannot find symbol
    static BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
           ^
  symbol:   class BufferedReader
  location: class Main
Main.java:9: error: cannot find symbol
    public static void main(String[] args) throws IOException {
                                                  ^
  symbol:   class IOException
  location: class Main
Main.java:7: error: cannot find symbol
    static BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
                                   ^
  symbol:   class BufferedReader
  location: class Main
Main.java:7: error: cannot find symbol
    static BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
                                                      ^
  symbol:   class InputStreamReader
  location: class Main
4 errors

                    
#8
Error de compilación
                      Main.java:7: error: cannot find symbol
    static BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
           ^
  symbol:   class BufferedReader
  location: class Main
Main.java:9: error: cannot find symbol
    public static void main(String[] args) throws IOException {
                                                  ^
  symbol:   class IOException
  location: class Main
Main.java:7: error: cannot find symbol
    static BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
                                   ^
  symbol:   class BufferedReader
  location: class Main
Main.java:7: error: cannot find symbol
    static BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
                                                      ^
  symbol:   class InputStreamReader
  location: class Main
4 errors

                    
#9
Error de compilación
                      Main.java:7: error: cannot find symbol
    static BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
           ^
  symbol:   class BufferedReader
  location: class Main
Main.java:9: error: cannot find symbol
    public static void main(String[] args) throws IOException {
                                                  ^
  symbol:   class IOException
  location: class Main
Main.java:7: error: cannot find symbol
    static BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
                                   ^
  symbol:   class BufferedReader
  location: class Main
Main.java:7: error: cannot find symbol
    static BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
                                                      ^
  symbol:   class InputStreamReader
  location: class Main
4 errors

                    
#10
Error de compilación
                      Main.java:7: error: cannot find symbol
    static BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
           ^
  symbol:   class BufferedReader
  location: class Main
Main.java:9: error: cannot find symbol
    public static void main(String[] args) throws IOException {
                                                  ^
  symbol:   class IOException
  location: class Main
Main.java:7: error: cannot find symbol
    static BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
                                   ^
  symbol:   class BufferedReader
  location: class Main
Main.java:7: error: cannot find symbol
    static BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
                                                      ^
  symbol:   class InputStreamReader
  location: class Main
4 errors

                    
#11
Error de compilación
                      Main.java:7: error: cannot find symbol
    static BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
           ^
  symbol:   class BufferedReader
  location: class Main
Main.java:9: error: cannot find symbol
    public static void main(String[] args) throws IOException {
                                                  ^
  symbol:   class IOException
  location: class Main
Main.java:7: error: cannot find symbol
    static BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
                                   ^
  symbol:   class BufferedReader
  location: class Main
Main.java:7: error: cannot find symbol
    static BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
                                                      ^
  symbol:   class InputStreamReader
  location: class Main
4 errors

                    
#12
Error de compilación
                      Main.java:7: error: cannot find symbol
    static BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
           ^
  symbol:   class BufferedReader
  location: class Main
Main.java:9: error: cannot find symbol
    public static void main(String[] args) throws IOException {
                                                  ^
  symbol:   class IOException
  location: class Main
Main.java:7: error: cannot find symbol
    static BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
                                   ^
  symbol:   class BufferedReader
  location: class Main
Main.java:7: error: cannot find symbol
    static BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
                                                      ^
  symbol:   class InputStreamReader
  location: class Main
4 errors

                    
Puntos totales: 0 / 100

Código

/**
 *
 * @author Julian_Miranda
 */
public class Main {
    
    static BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
    
    public static void main(String[] args) throws IOException {
        int n = Integer.parseInt(bf.readLine());
        String[] a = bf.readLine().split(" ");
        
        if (a[0].equals("1")) {
            System.out.println("Ordenado");
        }else{
            System.out.println("Desordenado");
        }
    }
}