結果
| 問題 |
No.207 世界のなんとか
|
| コンテスト | |
| ユーザー |
CotaSirogami
|
| 提出日時 | 2019-02-24 20:28:21 |
| 言語 | C++17(clang) (17.0.6 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 262 bytes |
| コンパイル時間 | 568 ms |
| コンパイル使用メモリ | 120,064 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-30 13:37:26 |
| 合計ジャッジ時間 | 1,088 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 2 WA * 17 |
ソースコード
#include <iostream>
using namespace std;
int main() {
int ans = 0;
int a, b;
cin >> a >> b;
int c = a / 10;
for (int i = a; i <= b; i++) {
if(a % 10 == 0)
c = a / 10;
int d = a - c * 10;
if (!(a % 3 || c % 3 || d % 3))
cout << a << endl;
}
}
CotaSirogami