Can anyone tell me how to include this micro #define int long long int, this is giving error because its also converting int main to long long int main
Can anyone tell me how to include this micro #define int long long int, this is giving error because its also converting int main to long long int main
| # | User | Rating |
|---|---|---|
| 1 | Benq | 3792 |
| 2 | VivaciousAubergine | 3647 |
| 3 | Kevin114514 | 3603 |
| 4 | jiangly | 3583 |
| 5 | strapple | 3515 |
| 6 | tourist | 3470 |
| 7 | dXqwq | 3436 |
| 8 | Radewoosh | 3415 |
| 9 | Otomachi_Una | 3413 |
| 10 | Um_nik | 3376 |
| # | User | Contrib. |
|---|---|---|
| 1 | Qingyu | 158 |
| 2 | adamant | 152 |
| 3 | Proof_by_QED | 146 |
| 3 | Um_nik | 146 |
| 5 | Dominater069 | 144 |
| 6 | errorgorn | 141 |
| 7 | cry | 139 |
| 8 | YuukiS | 135 |
| 9 | chromate00 | 134 |
| 9 | TheScrasse | 134 |
| Name |
|---|



change
int main()toint32_t main()orsigned main()Yes! worked thankyou.
or just do
main()and ignore the warnings?Please don't encourage terrorism
Every time I write
main(), it reminds me of your comment.Can someone please explain this joke to me?
Just dont use
#define int long long:)These guys trap hackers by fooling them for overflow.
!
did you really have to revive this post for mentioning again what I already did 5 weeks ago
CF in a nutshell
If you want to use this you should change
int main()tosigned main().However it is not a good idea to use
#define int long long.just use
signed main()This is actually discouraged because it dramatically increases the running time as you enabled 64-bit processing for unnecessary variables.
poll!
use
#define int long longdon't use
I would suggest not to use it, macros are a massive garbage feature imo, they're unsafe and makes your code bound to have bugs here and there (no exception to
#define int long long, it breaks C++ style type conversion)