結果
| 問題 | No.355 数当てゲーム(2) | 
| コンテスト | |
| ユーザー |  ldsyb | 
| 提出日時 | 2016-04-01 23:11:59 | 
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) | 
| 結果 | 
                                TLE
                                 
                            (最新) 
                                AC
                                 
                            (最初) | 
| 実行時間 | - | 
| コード長 | 306 bytes | 
| コンパイル時間 | 552 ms | 
| コンパイル使用メモリ | 57,636 KB | 
| 実行使用メモリ | 40,032 KB | 
| 最終ジャッジ日時 | 2024-07-16 23:12:29 | 
| 合計ジャッジ時間 | 7,010 ms | 
| ジャッジサーバーID (参考情報) | judge2 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | TLE * 1 -- * 51 | 
ソースコード
#include <iostream>
#include <algorithm>
using namespace std;
int main(){
   int num[] = {0,1,2,3,4,5,6,7,8,9};
   do{
      cout << num[0] << ' ' << num[1] << ' ' << num[2] << ' ' << num[3] << endl;
      int x,y;
      cin >> x >> y;
      if(x == 4) break;
   }while(next_permutation(num,num + 10));
}
            
            
            
        