結果
問題 | No.249 N言っちゃダメゲーム (2) |
ユーザー | naimonon77 |
提出日時 | 2015-11-03 09:06:10 |
言語 | C++11 (gcc 11.4.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 459 bytes |
コンパイル時間 | 378 ms |
コンパイル使用メモリ | 58,416 KB |
実行使用メモリ | 11,924 KB |
最終ジャッジ日時 | 2023-10-11 13:09:24 |
合計ジャッジ時間 | 4,938 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | TLE | - |
testcase_01 | -- | - |
testcase_02 | -- | - |
ソースコード
#include <iostream> #include <algorithm> #include <string> #include <cstring> using namespace std; #define REP(i,a,b) for(i=a;i<b;i++) #define rep(i,n) REP(i,0,n) #define SQR(X) ((X)*(X)) typedef long long ll; typedef unsigned long long ull; typedef long double lb; /* ここからが本編 */ int main(void) { int i,j; int n,k; int cnt = 0; cin >> n >> k; cnt += ( n%(k+1) ) != 1; rep(i,n) cin >> n >> k; cout << "500" << endl; return 0; }