結果
問題 | No.207 世界のなんとか |
ユーザー | swdamdr |
提出日時 | 2017-01-23 16:36:56 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 602 bytes |
コンパイル時間 | 2,745 ms |
コンパイル使用メモリ | 94,716 KB |
実行使用メモリ | 24,912 KB |
最終ジャッジ日時 | 2023-08-24 21:28:03 |
合計ジャッジ時間 | 4,323 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | AC | 56 ms
20,764 KB |
testcase_02 | WA | - |
testcase_03 | WA | - |
testcase_04 | WA | - |
testcase_05 | WA | - |
testcase_06 | AC | 57 ms
20,676 KB |
testcase_07 | AC | 55 ms
20,668 KB |
testcase_08 | AC | 55 ms
20,708 KB |
testcase_09 | AC | 56 ms
22,820 KB |
testcase_10 | WA | - |
testcase_11 | WA | - |
testcase_12 | WA | - |
testcase_13 | WA | - |
testcase_14 | WA | - |
testcase_15 | WA | - |
testcase_16 | AC | 56 ms
22,672 KB |
testcase_17 | AC | 56 ms
20,720 KB |
testcase_18 | AC | 54 ms
22,676 KB |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System; class Program { static void Main(string[] args) { string s = Console.ReadLine(); string[] t = s.Split(' '); int a = int.Parse(t[0]); int b = int.Parse(t[1]); for (int i = a; i <= b; i++) { if (i % 3 == 0) { Console.WriteLine(i); } else if (i / 10 == 3) { Console.WriteLine(i); } else if (i % 10 == 3) { Console.WriteLine(i); } } Console.ReadLine(); } }