結果
| 問題 |
No.3246 80% Accuracy Calculator
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-08-22 21:58:02 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 631 bytes |
| コンパイル時間 | 1,671 ms |
| コンパイル使用メモリ | 196,416 KB |
| 実行使用メモリ | 41,880 KB |
| 最終ジャッジ日時 | 2025-08-22 21:58:16 |
| 合計ジャッジ時間 | 8,169 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | TLE * 1 -- * 42 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
random_device rnd;
mt19937 mt(rnd());
int main(){
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
cout << "! C" << endl;
//ケースいくつ?
for(int check=5; check<=100; check++){
int two = 0,eight = 0;
for(int test=0; test<100000; test++){
int t = 0,e = 0;
for(int i=0; i<check; i++) {
if(mt()%10 < 2) t++;
else e++;
}
if(t >= e) two++;
else eight++;
}
cout << check << " ";
cout << two << " " << eight << endl;
}
}