| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 111795 | 梁乃元 | 整数拆分 | C++ | Compile Error | 0 | 0 MS | 0 KB | 281 | 2023-11-25 08:09:23 |
# include <iostream> using namespace std ; long long cf ( int x ) { if ( x < 6 ) { return x ; } return cf ( x - 3 ) * 3 ; } int main ( ) { long long n ; cin >> n ; if ( x < 3 ) { cout << 1 << endl ; return 0 ; } cout << cf ( n ) ; return 0 ; }