import java.io.ByteArrayOutputStream;
import java.io.InputStream;
import java.lang.reflect.Method;

public class T9079736 {
    
    public static void targetMethod(float f, int i) {}
    
    public static void loopMethod(int param) {
        int i = -13;
        while ((++i) < 302) {
            try {
                Method m = T9079736.class.getMethod("targetMethod", float.class, int.class);
                m.invoke(null, 0, param);
            } catch (Throwable e) {
                throw new RuntimeException(e);
            }
        }
    }
    
    public static void main(String[] args) {
        try {
            ClassLoader cl = new CustomLoader();
            Class<?> cls = cl.loadClass("T9079736");
            Method m = cls.getMethod("loopMethod", int.class);
            m.invoke(null, 1);
        } catch (Exception ex) {
            ex.printStackTrace();
        }
    }
    
    static class CustomLoader extends ClassLoader {
        public Class loadClass(String name) throws ClassNotFoundException {
            if (!name.startsWith("java.") && name.startsWith("")) {
                try {
                    String path = "/" + name.replace('.', '/') + ".class";
                    InputStream is = getClass().getResourceAsStream(path);
                    if (is == null) return super.loadClass(name);
                    
                    ByteArrayOutputStream buffer = new ByteArrayOutputStream();
                    byte[] data = new byte[1024];
                    int nRead;
                    while ((nRead = is.read(data, 0, data.length)) != -1) {
                        buffer.write(data, 0, nRead);
                    }
                    
                    byte[] b = buffer.toByteArray();
                    return defineClass(name, b, 0, b.length);
                } catch (Exception e) {
                    throw new ClassNotFoundException(name, e);
                }
            }
            return super.loadClass(name);
        }
    }
} 