Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
322350 丁虞轩 【C3-8】桐桐的计算 C++ Wrong Answer 0 7 MS 240 KB 282 2025-05-16 18:46:15

Tests(0/1):


#include <iostream> using namespace std; int main(){ int s=0; for(int i=0;i<=100/9/2;i++){ for(int j=0;j<=100/2;j++){ for(int k=0;k<=100/4;k++){ if(i*2*9+j*2+k*4==100) cout<<i<<" "<<j<<" "<<k<<endl; s++; } } } cout<<s; return 0; }


Judgement Protocol: