結果
| 問題 | No.2051 Divide |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-08-21 13:03:23 |
| 言語 | C# (.NET 10.0.201) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 457 bytes |
| 記録 | |
| コンパイル時間 | 7,739 ms |
| コンパイル使用メモリ | 173,072 KB |
| 実行使用メモリ | 39,040 KB |
| 最終ジャッジ日時 | 2026-04-26 08:41:59 |
| 合計ジャッジ時間 | 16,376 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 21 TLE * 2 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (136 ミリ秒)。 main -> /home/judge/data/code/bin/Release/net10.0/main.dll main -> /home/judge/data/code/bin/Release/net10.0/publish/
ソースコード
using System;
using System.Collections.Generic;
namespace test
{
static class Program
{
static void Main()
{
string[] a = Console.ReadLine().Split(' ');
long b = long.Parse(a[0]);
long c = long.Parse(a[1]);
long count = 0;
for(long i = c;i <= b; i += c)
{
if(b%i==0)count++;
}
Console.WriteLine(count);
}
}
}