結果
| 問題 |
No.304 鍵(1)
|
| コンテスト | |
| ユーザー |
funakoshi
|
| 提出日時 | 2019-08-26 16:57:49 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 69 ms / 2,000 ms |
| コード長 | 347 bytes |
| コンパイル時間 | 206 ms |
| コンパイル使用メモリ | 29,824 KB |
| 実行使用メモリ | 25,220 KB |
| 平均クエリ数 | 309.17 |
| 最終ジャッジ日時 | 2024-07-17 02:21:12 |
| 合計ジャッジ時間 | 1,220 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 6 |
ソースコード
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#include <math.h>
int main(void)
{
char str[10]="";
for(int i=0;i<1000;i++)
{
printf("%03d\n",i);
fflush(0);
scanf("%s",str);
if(strcmp(str,"unlocked")==0)
{
break;
}
}
return 0;
}
funakoshi