Pagini recente » Borderou de evaluare (job #497146) | Borderou de evaluare (job #2182632) | Borderou de evaluare (job #2180934) | Borderou de evaluare (job #1788110) | Borderou de evaluare (job #1561381)
Borderou de evaluare (job #1561381)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int, int, int, int)’:
user.cpp:20:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < g[left][c].size(); ++i)
^
user.cpp:21:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < g[right][c].size(); ++j)
^
user.cpp: In function ‘int main()’:
user.cpp:47:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
g[a[i]][t[b[i]]].push_back(b[i]);
^
user.cpp:48:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
g[b[i]][t[a[i]]].push_back(a[i]);
^
user.cpp:34:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbpal.in","r",stdin);
^
user.cpp:35:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbpal.out","w",stdout);
^
user.cpp:37:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:39:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", a + i, b + i);
^
user.cpp:41:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:42:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir);
^
/tmp/ccOkCKp4.o: In function `main':
user.cpp:(.text.startup+0xc3): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 1984kb | Incorect | 0 | 0 |
2 | 0ms | 1988kb | Incorect | 0 | 0 |
3 | 0ms | 1992kb | Incorect | 0 | 0 |
4 | 0ms | 1992kb | Incorect | 0 | 0 |
5 | 4ms | 2008kb | Incorect | 0 | 0 |
6 | 8ms | 2180kb | Killed by signal 6(SIGABRT). | 0 |
7 | 4ms | 2004kb | Incorect | 0 |
8 | 8ms | 2184kb | Killed by signal 6(SIGABRT). | 0 |
9 | 8ms | 2180kb | Killed by signal 6(SIGABRT). | 0 | 0 |
10 | 8ms | 2180kb | Killed by signal 6(SIGABRT). | 0 |
11 | 8ms | 2180kb | Killed by signal 6(SIGABRT). | 0 |
12 | 0ms | 1992kb | Incorect | 0 | 0 |
13 | 0ms | 1992kb | Incorect | 0 | 0 |
14 | 0ms | 2004kb | Incorect | 0 | 0 |
15 | 0ms | 2008kb | Incorect | 0 | 0 |
16 | 0ms | 2008kb | Incorect | 0 | 0 |
17 | 0ms | 2004kb | Incorect | 0 | 0 |
18 | 8ms | 2180kb | Killed by signal 6(SIGABRT). | 0 | 0 |
19 | 8ms | 2176kb | Killed by signal 6(SIGABRT). | 0 |
20 | 8ms | 2180kb | Killed by signal 6(SIGABRT). | 0 |
21 | 8ms | 2184kb | Killed by signal 6(SIGABRT). | 0 |
22 | 8ms | 2180kb | Killed by signal 6(SIGABRT). | 0 |
23 | 8ms | 2184kb | Killed by signal 6(SIGABRT). | 0 |
24 | 8ms | 2180kb | Killed by signal 6(SIGABRT). | 0 | 0 |
25 | 8ms | 2176kb | Killed by signal 6(SIGABRT). | 0 |
Punctaj total | 0 |