Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
325299 顾子丞 【C2-4】小玉在游泳 C++ Wrong Answer 0 1 MS 248 KB 152 2025-06-05 16:42:23

Tests(0/2):


#include<iostream> using namespace std; int main(){ int s,c=0,n,m=1; cin>>n; while(s<n){ c++; s=s+m; m++; } cout<<c; return 0; }


Judgement Protocol: