Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
29540 | lnx | 收集瓶盖赢大奖 | C++ | Accepted | 0 MS | 248 KB | 177 | 2023-10-31 18:44:36 |
#include<iostream> using namespace std; int main() { int a,b,k; cin>>a>>b; k=(a/10)+(b/20); if(k>=1) { cout<<"1"; } else { cout<<"0"; } return 0; }