Submission #929427

Source Code Expand

import java.util.Scanner;

public class Main{

int ruijo(int n, int r){
  if(r == 0) return 1;
  else return n*ruijo(n,r-1);

  public static void main(String[] args){
    Scanner sc = new Scanner(;
    int N = sc.nextInt(), K = sc.nextInt();

Submission Info

Submission Time
Task B - Painting Balls with AtCoDeer
User rit03cv
Language Java8 (OpenJDK 1.8.0)
Score 0
Code Size 316 Byte
Status CE

Compile Error

./ error: non-static method ruijo(int,int) cannot be referenced from a static context
1 error