QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#521493 | #6604. Kobolds and Catacombs | ZhangYiDe | Compile Error | / | / | Java11 | 2.9kb | 2024-08-16 11:25:52 | 2024-08-16 11:25:52 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
T.java:2: error: illegal character: '#' #pragma GCC optimize("Ofast") ^ T.java:2: error: class, interface, or enum expected #pragma GCC optimize("Ofast") ^ T.java:3: error: illegal character: '#' #define DEBUG 0 ^ T.java:4: error: illegal character: '#' #include <cassert> ^ T.java:5: error: illegal character: '#' #include <stdio.h> ^ T.java:6: error: illegal character: '#' #include <cstdio> ^ T.java:7: error: illegal character: '#' #include <cstring> ^ T.java:8: error: illegal character: '#' #include <vector> ^ T.java:9: error: illegal character: '#' #include <queue> ^ T.java:10: error: '{' expected template <class T> using Arr = std::vector<T>; ^ T.java:10: error: illegal start of type template <class T> using Arr = std::vector<T>; ^ T.java:11: error: illegal start of type template <class T> using Ptn = std::pair<T, T>; ^ T.java:11: error: '{' expected template <class T> using Ptn = std::pair<T, T>; ^ T.java:11: error: illegal start of type template <class T> using Ptn = std::pair<T, T>; ^ T.java:13: error: ']' expected char buf[10000002]; ^ T.java:15: error: <identifier> expected bool empty(char *s) { ^ T.java:16: error: illegal start of expression for (; *s; ++s) ^ T.java:17: error: illegal start of expression if ('0' <= *s && *s <= '9') ^ T.java:17: error: illegal start of expression if ('0' <= *s && *s <= '9') ^ T.java:22: error: <identifier> expected int find_arrow(char *buf) { ^ T.java:23: error: not a statement char *s = buf; ^ T.java:23: error: ';' expected char *s = buf; ^ T.java:24: error: illegal start of expression for (; *s; ++s) ^ T.java:25: error: illegal start of expression if (*s == '-') ^ T.java:30: error: <identifier> expected bool find_mark(char *buf) { ^ T.java:31: error: not a statement char *s = buf; ^ T.java:31: error: ';' expected char *s = buf; ^ T.java:32: error: illegal start of expression for (; *s; ++s) ^ T.java:33: error: illegal start of expression if (*s == '!') ^ T.java:38: error: <identifier> expected void readline(char *s) { ^ T.java:39: error: illegal start of expression do *s = (char)getchar(); ^ T.java:40: error: illegal start of expression while (*(s++) != '\n' && *(s++) != '\0'); ^ T.java:40: error: illegal start of expression while (*(s++) != '\n' && *(s++) != '\0'); ^ T.java:41: error: illegal start of expression *s = '\0'; ^ T.java:46: error: illegal start of expression scanf("%d%d", &n, &m); ^ T.java:46: error: illegal start of expression scanf("%d%d", &n, &m); ^ T.java:47: error: '.class' expected std::queue<Ptn<int>> q; ^ T.java:47: error: not a statement std::queue<Ptn<int>> q; ^ T.java:49: error: ';' expected Arr<Arr<int>> e(n + m + 1); ^ T.java:49: error: not a statement Arr<Arr<int>> e(n + m + 1); ^ T.java:49: error: ';' expected Arr<Arr<int>> e(n + m + 1); ^ T.java:50: error: ';' expected Arr<int> dest(n); ^ T.java:50: error: not a statement Arr<int> dest(n); ^ T.java:50: error: ';' expected Arr<int> dest(n); ^ T.java:51: error: ';' expected Arr<int> ans(m + 1, -1); ^ T.java:51: error: not a statement Arr<int> ans(m + 1, -1); ^ T.java:51: error: ';' expected Arr<int> ans(m + 1, -1); ^ T.java:52: error: ';' expected Arr<int> deg(m + n + 1, 0); ^ T.java:52: error: not a statement Arr<int> deg(m + n + 1, 0); ^ T.java:52: error: ';' expected Arr<int> deg(m + n + 1, 0); ^ T.java:80: error: not a statement char *s = buf; ^ T.java:80: error: ';' expected char *s = buf; ^ T.java:85: error: illegal start of expression sscanf(s, "%d%n", &u, &sz); ^ T.java:85: error: illegal start of expression sscanf(s, "%d%n", &u, &sz); ^ T.java:90: error: illegal start of expression sscanf(buf + pos + 3 + has_mark, "%d", &end); ^ T.java:99: error: illegal character: '#' #if DEBUG ^ T.java:99: error: '(' expected #if DEBUG ^ T.java:99: error: ')' expected #if DEBUG ^ T.java:104: error: illegal character: '#' #endif ^ T.java:104: error: not a statement #endif ^ T.java:104: error: ';' expected #endif ^ T.java:107: error: illegal start of expression sscanf(buf + has_mark, "%d", &end); ^ T.java:109: error: ';' expected return puts("conflict"), 0; ^ T.java:111: error: illegal start of expression q.push({end, !has_mark}); ^ T.jav...