結果
問題 | No.304 鍵(1) |
ユーザー |
![]() |
提出日時 | 2016-03-03 22:06:22 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
TLE
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 245 bytes |
コンパイル時間 | 320 ms |
コンパイル使用メモリ | 21,888 KB |
実行使用メモリ | 40,400 KB |
最終ジャッジ日時 | 2024-07-16 23:03:39 |
合計ジャッジ時間 | 6,764 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | TLE * 1 -- * 5 |
コンパイルメッセージ
main.cpp: In function ‘int main()’: main.cpp:12:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 12 | scanf( "%s", S ); | ~~~~~^~~~~~~~~~~
ソースコード
// yukicoder 304 (http://yukicoder.me/problems/765) #include<cstdio> #define rep(i,a) for(int i=0;i<(a);++i) char S[10]; int main() { rep( i, 1000 ) { printf( "%03d\n", i ); scanf( "%s", S ); if( *S == 'u' ) break; } return 0; }