Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
46759 | yuzhengxun | 扑克牌 | C++ | Accepted | 0 MS | 236 KB | 142 | 2024-05-05 11:31:18 |
#include<bits/stdc++.h> using namespace std; int main() { int n; cin>>n; if(n==4) cout<<4; else cout<<n/3+n%3<<endl; return 0; }