結果
| 問題 | No.3818 TSG BINGO (C++) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-11-23 10:17:25 |
| 言語 | C++17 (gcc 15.3.0 + boost 1.92.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 2,000 ms |
| + 942µs | |
| コード長 | 264 bytes |
| 記録 | |
| コンパイル時間 | 407 ms |
| コンパイル使用メモリ | 83,192 KB |
| 実行使用メモリ | 9,904 KB |
| スコア | 451 |
| 最終ジャッジ日時 | 2026-11-23 10:17:28 |
| 合計ジャッジ時間 | 2,928 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge6_0 |
| 純コード判定しない問題か言語 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 23 |
コンパイルメッセージ
main.cpp:1:2: warning: '#import' is a deprecated GCC extension [-Wdeprecated]
1 | #import<iostream>
| ^~~~~~
main.cpp:2:19: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
2 | int x[99],m,c,z,o;main(){for(;o<26;std::cin>>z)x[z]=o++;for(;std::cin>>z;printf("%d\n",o)){c|=1<<x[z];o=0;for(auto _:{62,1984,55296,62<<15,62<<20,2164802,4329604,8651016,17318416,34636832,8651070,66115710,66177150,34078850,2228768})o+=c==(c|_);}}
| ^~~~
ソースコード
#import<iostream>
int x[99],m,c,z,o;main(){for(;o<26;std::cin>>z)x[z]=o++;for(;std::cin>>z;printf("%d\n",o)){c|=1<<x[z];o=0;for(auto _:{62,1984,55296,62<<15,62<<20,2164802,4329604,8651016,17318416,34636832,8651070,66115710,66177150,34078850,2228768})o+=c==(c|_);}}