結果
| 問題 | No.3820 TSG BINGO (All Language) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-11-16 15:49:54 |
| 言語 | C++17 (gcc 15.3.0 + boost 1.92.0 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 357 bytes |
| 記録 | |
| コンパイル時間 | 1,168 ms |
| コンパイル使用メモリ | 214,592 KB |
| 実行使用メモリ | 9,904 KB |
| スコア | 0 |
| 最終ジャッジ日時 | 2026-11-21 14:31:38 |
| 合計ジャッジ時間 | 3,386 ms |
|
ジャッジサーバーID (参考情報) |
judge4_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 22 WA * 1 |
コンパイルメッセージ
main.cpp:1:2: warning: '#import' is a deprecated GCC extension [-Wdeprecated]
1 | #import<bits/stdc++.h>
| ^~~~~~
main.cpp:3:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
3 | main(){
| ^~~~
main.cpp: In function 'int main()':
main.cpp:10:13: warning: range-based 'for' loops with initializer only available with '-std=c++20' or '-std=gnu++20' [-Wc++20-extensions]
10 | for(q=0;int&l:L)
| ^~~
ソースコード
#import<bits/stdc++.h>
int m[99],a,i,q,L[]={62,1984,55296,2031616,65011712,2164802,4329604,8651016,17318416,34636832,34078850,2228768,8651070,66115710,66177150};
main(){
//for(;i++<25;){
// std::cin>>a;
// m[a]=i;
//}
//std::cin>>a;
for(;std::cin>>a;i++<26?i<26?m[a]=i:0:printf("%d\n",q))
for(q=0;int&l:L)
q+=!(l&=~(1<<m[a]));
}//uso