Borderou de evaluare (job #1430117)

Utilizator stefanzzzStefan Popa stefanzzz Data 7 mai 2015 21:47:24
Problema Arbpal Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

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
10ms1920kbIncorect00
20ms1920kbIncorect00
30ms1920kbIncorect00
40ms1920kbIncorect00
50ms1916kbIncorect00
60ms1916kbIncorect0
70ms1920kbIncorect0
80ms1924kbIncorect0
90ms1920kbIncorect00
100ms1924kbIncorect0
110ms1924kbIncorect0
120ms1920kbIncorect00
130ms1924kbIncorect00
140ms1920kbIncorect00
150ms1924kbIncorect00
160ms1924kbIncorect00
170ms1916kbIncorect00
180ms1920kbIncorect00
190ms1916kbIncorect0
200ms1920kbIncorect0
210ms1924kbIncorect0
220ms1920kbIncorect0
230ms1920kbIncorect0
240ms1916kbIncorect00
250ms1920kbIncorect0
Punctaj total0

Ceva nu functioneaza?