結果
| 問題 | No.3820 TSG BINGO (All Language) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-11-18 02:10:55 |
| 言語 | C++23(gcc16) (gcc 16.2.0 + boost 1.92.0 + ACL) |
| 結果 |
RE
不安定
|
| 実行時間 | - |
| コード長 | 237 bytes |
| 記録 | |
| コンパイル時間 | 1,970 ms |
| コンパイル使用メモリ | 103,720 KB |
| 実行使用メモリ | 9,924 KB |
| スコア | 0 |
| 最終ジャッジ日時 | 2026-11-21 14:33:33 |
| 合計ジャッジ時間 | 7,207 ms |
|
ジャッジサーバーID (参考情報) |
judge4_0 / judge5_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 1 RE * 1 |
| other | AC * 5 WA * 5 RE * 13 |
コンパイルメッセージ
main.cpp:1:2: warning: '#import' is a deprecated GCC extension [-Wdeprecated]
1 | #import<ios>
| ^~~~~~
main.cpp:2:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
2 | main(){
| ^~~~
main.cpp: In function 'int main()':
main.cpp:3:18: warning: 'p' may be used uninitialized [-Wmaybe-uninitialized]
3 | for(int m,i=26,p,q;q=0,~scanf("%d",&m);--i<0?printf("%d\n",q):i?m[&m]=i:p=8193)
| ^
ソースコード
#import<ios>
main(){
for(int m,i=26,p,q;q=0,~scanf("%d",&m);--i<0?printf("%d\n",q):i?m[&m]=i:p=8193)
for(int l:{34078850,2228769,65274121,66123902,66108543})
p|=1<<m[&m],
q+=!(~p&l)+!(~p&62<<l%5*5)+!(~p&2164802<<l%5);
}