結果

問題 No.3115 One Power One Kill
ユーザー pengin_2000
提出日時 2025-04-19 00:29:05
言語 C
(gcc 13.3.0)
結果
AC  
実行時間 61 ms / 2,000 ms
コード長 180 bytes
コンパイル時間 1,314 ms
コンパイル使用メモリ 23,936 KB
実行使用メモリ 26,108 KB
平均クエリ数 2.00
最終ジャッジ日時 2025-04-19 00:29:09
合計ジャッジ時間 2,917 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 20
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.c: In function ‘main’:
main.c:7:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    7 |         scanf("%lld", &k);
      |         ^~~~~~~~~~~~~~~~~

ソースコード

diff #

#include<stdio.h>
int main()
{
	printf("19000 101\n");
	fflush(stdout);
	long long int k;
	scanf("%lld", &k);
	if (k % 101 > 0)
		printf("1\n");
	else
		printf("0\n");
	return 0;
}
0