#14934: 求救!!!!!!!!!!!!!!!!!!!!!!!!!!!!


lumi951001@gmail.com (呂季軒)

學校 : 不指定學校
編號 : 82039
來源 : [101.136.253.131]
最後登入時間 :
2024-05-29 12:02:05
b679. 棄屍 (16+) | From: [163.19.240.54] | 發表日期 : 2018-08-17 14:49

#include<iostream>
#include<string>
#include<vector>
#include<algorithm>
#include<cmath>
using namespace std;
int main()
{
unsigned long long i, j, k, l, a = 0, q, f, kk, w = 1;

string s, s1[100], tes, s2;
vector<string> ss = { "I","V","X","L","C","D","M" };
vector<string>::iterator iit;
vector<int> mm = { 1,5,10,50,100,500,1000 };
cin >> i;
for (j = i; j>0; j=j-a)
{
a++;
}
cout << a << endl;

 

system("PAUSE");
return 0;
}

 
#14935: Re:求救!!!!!!!!!!!!!!!!!!!!!!!!!!!!


nkavengertree (LaG)

學校 : 不指定學校
編號 : 62501
來源 : [49.216.191.28]
最後登入時間 :
2021-11-21 03:06:49
b679. 棄屍 (16+) | From: [114.34.6.199] | 發表日期 : 2018-08-17 14:52

題號是這題嗎??

 
ZeroJudge Forum