結果

問題 No.282 おもりと天秤(2)
ユーザー climpet
提出日時 2015-09-19 18:19:57
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 145 bytes
コンパイル時間 242 ms
コンパイル使用メモリ 20,992 KB
実行使用メモリ 25,964 KB
平均クエリ数 4.00
最終ジャッジ日時 2024-07-16 06:20:38
合計ジャッジ時間 4,872 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 1 WA * 23
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:5:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    5 |         scanf("%*d");
      |         ~~~~~^~~~~~~

ソースコード

diff #

#include <cstdio>
using namespace std;

int main(){
	scanf("%*d");
	puts("? 0 0 0 0");
	puts("? 0 0 0 0");
	puts("? 0 0 0 0");
	puts("! 1 2");
}
0