結果
| 問題 |
No.537 ユーザーID
|
| コンテスト | |
| ユーザー |
u-sho
|
| 提出日時 | 2017-06-30 22:47:05 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 228 bytes |
| コンパイル時間 | 451 ms |
| コンパイル使用メモリ | 54,452 KB |
| 実行使用メモリ | 13,636 KB |
| 最終ジャッジ日時 | 2024-10-04 20:45:24 |
| 合計ジャッジ時間 | 4,128 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 6 WA * 9 TLE * 1 -- * 16 |
ソースコード
#include <iostream>
using namespace std;
long long div(long long N){
long long i,c=0;
for(i=1;i<N+1;i++){
if(N%i==0){c++;}
}
return c;
}
int main(void){
long long n;
cin>>n;
cout<<div(n)<<endl;
return 0;
}
u-sho