Problem timeexam
User DoubleShaurya
Submission Time 2024-01-27 16:10:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

timeexam.cpp: In function ‘int main()’:
timeexam.cpp:4:13: error: expected primary-expression before ‘long’
4 | #define int long long
| ^~~~
timeexam.cpp:13:29: note: in expansion of macro ‘int’
13 | for (int i = 0; i < 4 - int(log10(min) + 1); i++) {
| ^~~
timeexam.cpp:13:28: error: expected ‘;’ before ‘long’
13 | for (int i = 0; i < 4 - int(log10(min) + 1); i++) {
| ^
| ;
timeexam.cpp:4:13: error: expected primary-expression before ‘long’
4 | #define int long long
| ^~~~
timeexam.cpp:13:29: note: in expansion of macro ‘int’
13 | for (int i = 0; i < 4 - int(log10(min) + 1); i++) {
| ^~~
timeexam.cpp:13:28: error: expected ‘)’ before ‘long’
13 | for (int i = 0; i < 4 - int(log10(min) + 1); i++) {
| ~