2017-01-31 86 views
0

這是我在TopCoder applet中的代碼。你不能在編譯環境以外編譯TopCoder,java不能編譯

import java.util.*; 
import java.util.regex.*; 
import java.text.*; 
import java.math.*; 

public class BinaryCode 
{ 
    public String[] decode(String message) 
    { 
     //method one logic (calls decoded) 
    } 

    public StringBuilder decoded(StringBuilder mess, int initial) { 
     // method two logic (calls toInt) 
    } 

    public int toInt(char c) { 
     // method three 
    } 

<%:testing-code%> 
} 
//Powered by KawigiEdit 2.1.4 (beta) modified by pivanof! 

我使用KawigiEdit出於某種原因,我得到以下錯誤,當我嘗試編譯它。

You cannot compile outside of coding environment 

我試着在谷歌上查找它,但沒有在論壇上描述如何解決它。

我不允許有多種方法嗎?最新情況......

回答

0

出於某種原因,關閉應用程序並重新啓動備份可以解決問題。代碼編譯得很好。