0_0_30112904_31266\Main.java:1: 错误: 非法字符: '#'
#include <bits/stdc++.h>
^
0_0_30112904_31266\Main.java:1: 错误: 需要class, interface或enum
#include <bits/stdc++.h>
^
0_0_30112904_31266\Main.java:5: 错误: 需要class, interface或enum
struct Point
^
0_0_30112904_31266\Main.java:8: 错误: 需要class, interface或enum
};
^
0_0_30112904_31266\Main.java:10: 错误: 需要class, interface或enum
Point solve(long long p1, long long q1, long long p2, long long q2)
^
0_0_30112904_31266\Main.java:13: 错误: 需要class, interface或enum
if (a <= b)
^
0_0_30112904_31266\Main.java:15: 错误: 需要class, interface或enum
if (p1 == 0)
^
0_0_30112904_31266\Main.java:17: 错误: 需要class, interface或enum
if (p1 <= q1 && p2 <= q2)
^
0_0_30112904_31266\Main.java:20: 错误: 需要class, interface或enum
swap(r.a, r.b);
^
0_0_30112904_31266\Main.java:21: 错误: 需要class, interface或enum
return r;
^
0_0_30112904_31266\Main.java:22: 错误: 需要class, interface或enum
}
^
0_0_30112904_31266\Main.java:24: 错误: 需要class, interface或enum
Point r = solve(p1 % q1, q1, p2 - t * q2, q2);
^
0_0_30112904_31266\Main.java:25: 错误: 需要class, interface或enum
r.a += r.b * t;
^
0_0_30112904_31266\Main.java:26: 错误: 需要class, interface或enum
return r;
^
0_0_30112904_31266\Main.java:27: 错误: 需要class, interface或enum
}
^
0_0_30112904_31266\Main.java:31: 错误: 需要class, interface或enum
scanf("%d", &T);
^
0_0_30112904_31266\Main.java:32: 错误: 需要class, interface或enum
while (T--)
^
0_0_30112904_31266\Main.java:35: 错误: 需要class, interface或enum
scanf("%lld%lld", &p, &x);
^
0_0_30112904_31266\Main.java:36: 错误: 需要class, interface或enum
Point Ans = solve(x - 1, p, x, p);
^
0_0_30112904_31266\Main.java:37: 错误: 需要class, interface或enum
printf("%lld/%lld\n", Ans.b * x % p, Ans.b);
^
0_0_30112904_31266\Main.java:38: 错误: 需要class, interface或enum
}
^
21 个错误
|