Pagini recente » Borderou de evaluare (job #2860296) | Borderou de evaluare (job #1597005) | Borderou de evaluare (job #2046975) | Borderou de evaluare (job #2405822) | Borderou de evaluare (job #1430117)
Borderou de evaluare (job #1430117)
Raport evaluator
Compilare:
user.cpp: In function ‘void DFS(short int, short int, short int, short int)’:
user.cpp:17:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(short int i = 0; i < notempty[u1].size(); i++) {
^
user.cpp:19:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(auto x1: Gc[u1][cc]) {
^
user.cpp:21:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(auto x2: Gc[u2][cc])
^
user.cpp: In function ‘int main()’:
user.cpp:34:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d", &n);
^
user.cpp:36:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d %d\n", &x, &y);
^
user.cpp:36:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:48:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(Gc[i][c[x]].empty())
^
user.cpp:50:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Gc[i][c[x]].push_back(x);
^
user.cpp:54:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(auto x: Gc[i][c[i]])
^
user.cpp:29:37: 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:30:39: 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:34:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:36:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &x, &y);
^
user.cpp:42:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c ", &c[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 1920kb | Incorect | 0 | 0 |
2 | 0ms | 1920kb | Incorect | 0 | 0 |
3 | 0ms | 1920kb | Incorect | 0 | 0 |
4 | 0ms | 1920kb | Incorect | 0 | 0 |
5 | 0ms | 1916kb | Incorect | 0 | 0 |
6 | 0ms | 1916kb | Incorect | 0 |
7 | 0ms | 1920kb | Incorect | 0 |
8 | 0ms | 1924kb | Incorect | 0 |
9 | 0ms | 1920kb | Incorect | 0 | 0 |
10 | 0ms | 1924kb | Incorect | 0 |
11 | 0ms | 1924kb | Incorect | 0 |
12 | 0ms | 1920kb | Incorect | 0 | 0 |
13 | 0ms | 1924kb | Incorect | 0 | 0 |
14 | 0ms | 1920kb | Incorect | 0 | 0 |
15 | 0ms | 1924kb | Incorect | 0 | 0 |
16 | 0ms | 1924kb | Incorect | 0 | 0 |
17 | 0ms | 1916kb | Incorect | 0 | 0 |
18 | 0ms | 1920kb | Incorect | 0 | 0 |
19 | 0ms | 1916kb | Incorect | 0 |
20 | 0ms | 1920kb | Incorect | 0 |
21 | 0ms | 1924kb | Incorect | 0 |
22 | 0ms | 1920kb | Incorect | 0 |
23 | 0ms | 1920kb | Incorect | 0 |
24 | 0ms | 1916kb | Incorect | 0 | 0 |
25 | 0ms | 1920kb | Incorect | 0 |
Punctaj total | 0 |