結果
| 問題 | No.207 世界のなんとか |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-09-25 11:36:17 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 330 bytes |
| 記録 | |
| コンパイル時間 | 2,461 ms |
| コンパイル使用メモリ | 103,552 KB |
| 実行使用メモリ | 18,560 KB |
| 最終ジャッジ日時 | 2026-05-10 00:54:56 |
| 合計ジャッジ時間 | 3,871 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 8 WA * 11 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System;
public class Test {
public static void Main(string[] args) {
string[] nums = Console.ReadLine().Split(' ');
int min = int.Parse(nums[0]); // min >= 1
int max = int.Parse(nums[1]);
for (int i = min; i <= max; i++) {
if (i % 3 == 0 || i / 10 == 3 || i % 10 == 3) {
Console.WriteLine(i);
}
}
}
}