Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
58644 teacher_wang 换零钱 [1*] C++ Accepted 0 MS 244 KB 325 2024-12-13 19:47:17

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main() { int cnt = 0; for(int x = 1; x <= 19; x ++) for(int y = 1; y <= 94; y ++) for(int z = 1; z < 100; z ++) if(x+y+z == 100 && 5*x+y+0.5*z==100) cnt ++; cout<<cnt; return 0; }


Judgement Protocol: