結果
| 問題 | No.537 ユーザーID |
| コンテスト | |
| ユーザー |
Bantako
|
| 提出日時 | 2017-07-15 15:57:48 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 215 bytes |
| 記録 | |
| コンパイル時間 | 125 ms |
| コンパイル使用メモリ | 40,608 KB |
| 実行使用メモリ | 11,424 KB |
| 最終ジャッジ日時 | 2026-04-24 11:10:19 |
| 合計ジャッジ時間 | 4,218 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 6 WA * 9 TLE * 1 -- * 16 |
コンパイルメッセージ
main.cpp:2:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
2 | main(){
| ^~~~
ソースコード
#include<stdio.h>
main(){
long long N;
scanf("%lld",&N);
int count = 0;
for(int i = 1;i*i<=N;i++){
if(N%i == 0){
count += (i*i==N?1:2);
}
}
printf("%d\n",count);
}
Bantako