I'm trying to solve TSP in constant time. But I get WA. Do someone know why this append ?
Here is my code :
#include <bits/stdc++.h>
using namespace std;
int main() {
int answer = 1<<5;
answer += (answer % 11);
cout << answer << endl;
}
Why is my code not working ?
I'm trying to solve TSP in constant time. But I get WA. Do someone know why this append ?
Here is my code :
#include <bits/stdc++.h>
using namespace std;
int main() {
int answer = 1<<5;
answer += (answer % 11);
cout << answer << endl;
}