tea.cpp:9:34: error: narrowing conversion of '-1.0e+9' from 'double' to 'int' [-Wnarrowing]
9 | int DP[10002], DP2[10002] = {-1e9};
| ^
tea.cpp: In function 'int main()':
tea.cpp:13:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
13 | scanf("%d", &n);
| ~~~~~^~~~~~~~~~
tea.cpp:16:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
16 | scanf("%d", &x);
| ~~~~~^~~~~~~~~~