关于#cannotfindsymbol#的问题,如何解决?(标签-java|关键词-class)

编译失败
/judger/run/c59bdc20e4f44f7291fe3ff70b4a1a55/Main.java:26: error: cannot find symbol
System.out.println(sl.func(s));
^
symbol: method func(String)
location: variable sl of type Solution
1 error
代码如下:

import java.util.*;
class Solution {
      /* 
     * @param n int整型 第n天
     * @return int整型
     */
     public int solution (int n) {
        int day = 1;//天数
        int count = 0;//生产数
        for (int i = 1; i <= n; i++) {
            for (int j = 1; j <= i && day <= n; j++) {
                day++;
                count += i;
            }
        }
        return count;
    }
}

你这代码不全吧,补全了再说