結果
| 問題 | No.3533 Difficult Counting Problem? |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-05-15 12:05:40 |
| 言語 | C++23 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 86 bytes |
| 記録 | |
| コンパイル時間 | 1,020 ms |
| コンパイル使用メモリ | 93,888 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-05-15 12:05:43 |
| 合計ジャッジ時間 | 1,680 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 17 |
コンパイルメッセージ
main.cpp:1:2: warning: '#import' is a deprecated GCC extension [-Wdeprecated]
1 | #import<ios>
| ^~~~~~
main.cpp:2:9: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
2 | int n,a;main(){for(scanf("%d",&n);n--;)scanf("%d",&a),puts(a<2?"1":"0");}
| ^~~~
ソースコード
#import<ios>
int n,a;main(){for(scanf("%d",&n);n--;)scanf("%d",&a),puts(a<2?"1":"0");}