iT邦幫忙

2025 iThome 鐵人賽

0

A place holder for later update

public boolean isThree(int n) {
    int cnt = 0;
    for(int i = 1 ; i <= n ; i++){
        if(n % i == 0){
            cnt++;
        }
    }
    return cnt == 3;
}
public boolean isThree(int n) {
    int cnt = 0;
    for(int i = 1 ; i <= n ; i++){
        if(n % i == 0){
            cnt++;
        }
    }
    return cnt == 3;
}

上一篇
#26
系列文
來都來了-涮就涮吧28
  1. 24
    #23
  2. 25
    #24
  3. 26
    #25
  4. 27
    #26
  5. 28
    #27
完整目錄
圖片
  熱門推薦
圖片
{{ item.channelVendor }} | {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言