結果
| 問題 | No.8090 Knapsack Function |
| コンテスト | |
| ユーザー |
sig_256
|
| 提出日時 | 2026-09-19 21:50:25 |
| 言語 | C++23(gcc16) (gcc 16.1.0 + boost 1.92.0 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 87 bytes |
| 記録 | |
| コンパイル時間 | 2,156 ms |
| コンパイル使用メモリ | 96,248 KB |
| 実行使用メモリ | 9,996 KB |
| 最終ジャッジ日時 | 2026-09-19 21:50:30 |
| 合計ジャッジ時間 | 4,559 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 20 WA * 1 |
コンパイルメッセージ
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(int v){for(scanf("%*d");~scanf("%*d%d",&v)*--v;);puts(v?"No":"Yes");}
| ^~~~
main.cpp:2:1: warning: 'int main(int)' takes only zero or two arguments [-Wmain]
ソースコード
#import<ios>
main(int v){for(scanf("%*d");~scanf("%*d%d",&v)*--v;);puts(v?"No":"Yes");}
sig_256