結果
| 問題 | No.3533 Difficult Counting Problem? |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-05-15 11:57:34 |
| 言語 | C++23 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 89 bytes |
| 記録 | |
| コンパイル時間 | 1,170 ms |
| コンパイル使用メモリ | 146,352 KB |
| 実行使用メモリ | 7,976 KB |
| 最終ジャッジ日時 | 2026-05-15 11:57:38 |
| 合計ジャッジ時間 | 2,302 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 1 |
| other | AC * 1 WA * 16 |
コンパイルメッセージ
main.cpp:1:2: warning: '#import' is a deprecated GCC extension [-Wdeprecated]
1 | #import<iostream>
| ^~~~~~
main.cpp:2:9: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
2 | int n,a;main(){for(std::cin>>n;n--;)std::cin>>a,std::cout<<(a<2)<<' ';}
| ^~~~
ソースコード
#import<iostream>
int n,a;main(){for(std::cin>>n;n--;)std::cin>>a,std::cout<<(a<2)<<' ';}