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