Borderou de evaluare (job #1682343)

Utilizator Alexa2001Alexa Tudose Alexa2001 Data 10 aprilie 2016 10:33:20
Problema Lista lui Andrei Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:21:14: warning: array subscript has type ‘char’ [-Wchar-subscripts] per[x][y]=per[y][x]=1; ^ user.cpp:21:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] per[x][y]=per[y][x]=1; ^ user.cpp:21:24: warning: array subscript has type ‘char’ [-Wchar-subscripts] per[x][y]=per[y][x]=1; ^ user.cpp:21:27: warning: array subscript has type ‘char’ [-Wchar-subscripts] per[x][y]=per[y][x]=1; ^ user.cpp:24:35: warning: array subscript has type ‘char’ [-Wchar-subscripts] for(x='a'; x<='z'; ++x) d[1][x]=1; ^ user.cpp:30:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(!per[x][y]) ^ user.cpp:30:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(!per[x][y]) ^ user.cpp:31:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] d[i][x] += d[i-1][y]; ^ user.cpp:31:32: warning: array subscript has type ‘char’ [-Wchar-subscripts] d[i][x] += d[i-1][y]; ^ user.cpp:33:16: warning: array subscript has type ‘char’ [-Wchar-subscripts] d[i][x]%=Mod; ^ user.cpp:37:40: warning: array subscript has type ‘char’ [-Wchar-subscripts] for(x='a'; x<='z'; ++x) s += d[n][x]; ^ user.cpp:13:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("nrcuv.in", "r", stdin); ^ user.cpp:14:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("nrcuv.out", "w", stdout); ^ user.cpp:16:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n", &n, &m); ^ user.cpp:20:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c %c\n", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbOK5
20ms272kbOK5
30ms272kbOK5
40ms276kbOK5
50ms272kbOK5
60ms272kbOK5
70ms272kbOK5
80ms276kbOK5
90ms280kbOK5
100ms288kbOK5
110ms292kbOK5
120ms300kbOK5
130ms412kbOK5
140ms480kbOK5
150ms520kbOK5
160ms564kbOK5
170ms676kbOK5
184ms852kbOK5
194ms856kbOK5
200ms856kbOK5
Punctaj total100

Ceva nu functioneaza?