加载中...
public class Solution { public int GetUglyNumber_Solution(int index) { } }
class Solution { public: int GetUglyNumber_Solution(int index) { } };
# -*- coding:utf-8 -*- class Solution: def GetUglyNumber_Solution(self, index): # write code here
class Solution { public int GetUglyNumber_Solution(int index) { // write code here } }
function GetUglyNumber_Solution(index) { // write code here } module.exports = { GetUglyNumber_Solution : GetUglyNumber_Solution };
# # 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 # # # @param index int整型 # @return int整型 # class Solution: def GetUglyNumber_Solution(self , index: int) -> int: # write code here
package main /** * * @param index int整型 * @return int整型 */ func GetUglyNumber_Solution( index int ) int { // write code here }
/** * * @param index int整型 * @return int整型 */ int GetUglyNumber_Solution(int index ) { // write code here }
# # 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 # # @param index int整型 # @return int整型 # class Solution def GetUglyNumber_Solution(index) # write code here end end
object Solution { /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * @param index int整型 * @return int整型 */ def GetUglyNumber_Solution(index: Int): Int = { // write code here } }
object Solution { /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * @param index int整型 * @return int整型 */ fun GetUglyNumber_Solution(index: Int): Int { // write code here } }
import java.util.*; public class Solution { /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * @param index int整型 * @return int整型 */ public int GetUglyNumber_Solution (int index) { // write code here } }
/** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * @param index int整型 * @return int整型 */ export function GetUglyNumber_Solution(index: number): number { // write code here }
public class Solution { /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * @param index int整型 * @return int整型 */ func GetUglyNumber_Solution ( _ index: Int) -> Int { // write code here } }
struct Solution{ } impl Solution { fn new() -> Self { Solution{} } /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * @param index int整型 * @return int整型 */ pub fn GetUglyNumber_Solution(&self, index: i32) -> i32 { // write code here } }
7
8