結果
問題 |
No.8104 黒に近い、黒
|
ユーザー |
![]() |
提出日時 | 2023-03-31 22:50:20 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 530 bytes |
コンパイル時間 | 844 ms |
コンパイル使用メモリ | 67,840 KB |
最終ジャッジ日時 | 2025-02-11 21:24:43 |
ジャッジサーバーID (参考情報) |
judge5 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 15 WA * 2 |
ソースコード
#include <ctime> #include <iostream> using namespace std; int main() { int N; cin >> N; if (N >= 8) { cout << 11 << endl; } else if (N == 3 || N == 4) { cout << 1 << endl; } else if (N == 1 || N == 2) { cout << 0 << endl; } else { int steps = 0; while (clock() < N * 100000) { steps += 1; if (steps % 10000000 == 0) { cerr << "!!!" << endl; } } cout << 3 << endl; } return 0; }