結果
| 問題 | No.648 お や す み |
| コンテスト | |
| ユーザー |
focus
|
| 提出日時 | 2018-02-13 20:39:27 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 285 bytes |
| 記録 | |
| コンパイル時間 | 405 ms |
| コンパイル使用メモリ | 74,924 KB |
| 実行使用メモリ | 7,976 KB |
| 最終ジャッジ日時 | 2026-05-24 03:19:31 |
| 合計ジャッジ時間 | 22,545 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 84 |
ソースコード
#include<iostream>
#include<algorithm>
#include<vector>
#include<cstdio>
using namespace std;
int main(){
unsigned long long N;
cin >> N;
for(long long i=0;;i++){
if(N*2<=(i*(i+1))){
cout << i;
return 0;
}
}
return 0;
}
focus