結果

問題 No.537 ユーザーID
ユーザー miku39kk
提出日時 2017-06-30 23:12:08
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 221 bytes
コンパイル時間 374 ms
コンパイル使用メモリ 54,092 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-10-04 21:18:29
合計ジャッジ時間 4,129 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 6 WA * 9 TLE * 1 -- * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <string>
using namespace std;

int main() {
    
    int n,ans = 0;
    cin >> n;
    for(int i = 1;i <= n;i++){
        if(n % i == 0) ans++;
    }
    cout << ans << "\n";
    
return 0;
}
0