Borderou de evaluare (job #1276467)
Utilizator | Data | 26 noiembrie 2014 14:20:01 | |
---|---|---|---|
Problema | Cele mai apropiate puncte din plan | Status | done |
Runda | Arhiva educationala | Compilator | java | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
Main.java:105: error: incompatible types
iesire = new PrintWriter("cmap.out");
^
required: PrintStream
found: PrintWriter
Main.java:106: error: no suitable method found for write(double)
iesire.write(Math.sqrt(divide(0,n-1)));
^
method PrintStream.write(String) is not applicable
(actual argument double cannot be converted to String by method invocation conversion)
method PrintStream.write(char[]) is not applicable
(actual argument double cannot be converted to char[] by method invocation conversion)
method PrintStream.write(byte[],int,int) is not applicable
(actual and formal argument lists differ in length)
method PrintStream.write(int) is not applicable
(actual argument double cannot be converted to int by method invocation conversion)
method FilterOutputStream.write(byte[],int,int) is not applicable
(actual and formal argument lists differ in length)
method FilterOutputStream.write(byte[]) is not applicable
(actual argument double cannot be converted to byte[] by method invocation conversion)
method FilterOutputStream.write(int) is not applicable
(actual argument double cannot be converted to int by method invocation conversion)
method OutputStream.write(byte[],int,int) is not applicable
(actual and formal argument lists differ in length)
method OutputStream.write(byte[]) is not applicable
(actual argument double cannot be converted to byte[] by method invocation conversion)
method OutputStream.write(int) is not applicable
(actual argument double cannot be converted to int by method invocation conversion)
2 errors
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !