View Code
#include#include #include #include #include #include #include #include #include #define LL long long#define inf 0x7fffffff#define E 1e-9#define N 10009using namespace std;struct Node{ int pos,num; int c; bool operator<(Node x) const { return pos l) { printf("Fell off\n"); continue; } printf("%d %s\n",node[i].pos,str[node[i].c+1]); } printf("\n"); } return 0;}