結果
問題 |
No.537 ユーザーID
|
ユーザー |
|
提出日時 | 2023-10-23 21:32:46 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 367 bytes |
コンパイル時間 | 1,504 ms |
コンパイル使用メモリ | 166,892 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-09-22 15:02:09 |
合計ジャッジ時間 | 2,766 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 19 WA * 13 |
ソースコード
#include<bits/stdc++.h> using namespace std; using ll = long long; #define rep(i,m,n) for(int i=m; i<n; ++i) #define repl(i,m,n) for(ll i=m; i<n; ++i) int main(){ ll N; cin >> N; int ans = 0; for(ll i = 1LL; i*i <= N; ++i){ if(N % i != 0LL) continue; ans++; if(i*i != N) ans++; } cout << ans << endl; return 0; }