結果
問題 | No.304 鍵(1) |
ユーザー |
![]() |
提出日時 | 2016-01-06 20:54:32 |
言語 | C++11 (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 62 ms / 2,000 ms |
コード長 | 219 bytes |
コンパイル時間 | 1,752 ms |
コンパイル使用メモリ | 157,016 KB |
実行使用メモリ | 25,220 KB |
平均クエリ数 | 309.17 |
最終ジャッジ日時 | 2024-07-16 22:50:14 |
合計ジャッジ時間 | 2,444 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 6 |
コンパイルメッセージ
main.cpp: In function ‘int main()’: main.cpp:8:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 8 | scanf("%s",ret); | ~~~~~^~~~~~~~~~
ソースコード
#include <bits/stdc++.h> using namespace std; char ret[114]; int main() { for(int i=0;i<1000;i++) { printf("%03d\n",i); fflush(stdout); scanf("%s",ret); if(ret[0]=='u') break; } }