結果
問題 | No.231 めぐるはめぐる (1) |
ユーザー |
|
提出日時 | 2015-06-26 22:39:28 |
言語 | C++11 (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 327 bytes |
コンパイル時間 | 454 ms |
コンパイル使用メモリ | 54,520 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-07 17:47:14 |
合計ジャッジ時間 | 2,126 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 3 WA * 8 |
ソースコード
#include <iostream> #include <cstdint> using namespace std; int main() { int n;cin>>n; for (int i=0;i<n;i++){ int64_t g, d; cin>>g>>d; if ((g-30000*d)*6>=1000000){ cout << "YES" << endl; for (int j=0;j<6;j++) cout << i+1 << endl; return 0; } } cout << "NO" << endl; return 0; }