結果
| 問題 |
No.304 鍵(1)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-10-30 09:32:53 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 58 ms / 2,000 ms |
| コード長 | 100 bytes |
| コンパイル時間 | 1,875 ms |
| コンパイル使用メモリ | 166,548 KB |
| 実行使用メモリ | 25,604 KB |
| 平均クエリ数 | 309.17 |
| 最終ジャッジ日時 | 2024-07-17 00:35:06 |
| 合計ジャッジ時間 | 2,275 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 6 |
コンパイルメッセージ
main.cpp:2:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
2 | main(){int c=0;char s[9];for(;printf("%03d\n",c++),std::cin>>s,s[0]=='l';);}
| ^~~~
ソースコード
#include<bits/stdc++.h>
main(){int c=0;char s[9];for(;printf("%03d\n",c++),std::cin>>s,s[0]=='l';);}