結果
問題 | No.537 ユーザーID |
ユーザー |
![]() |
提出日時 | 2017-06-30 22:29:49 |
言語 | C (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 213 bytes |
コンパイル時間 | 794 ms |
コンパイル使用メモリ | 28,160 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-10-04 19:44:20 |
合計ジャッジ時間 | 1,400 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 6 WA * 26 |
ソースコード
#include <stdio.h> int main(void){ int n; scanf("%d", &n); int ans = 0; int i; for(i = 1; i*i < n; i++){ if(n % i == 0){ ans += 2; } } if(n == i * i){ ans ++; } printf("%d\n", ans); return 0; }