Pagini recente » Borderou de evaluare (job #2957929) | Borderou de evaluare (job #657469) | Borderou de evaluare (job #1317776) | Borderou de evaluare (job #2365979) | Borderou de evaluare (job #1758837)
Borderou de evaluare (job #1758837)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:12: warning: array subscript has type ‘char’ [-Wchar-subscripts]
u[a][b]=u[b][a]=1;
^
user.cpp:31:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
u[a][b]=u[b][a]=1;
^
user.cpp:31:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
u[a][b]=u[b][a]=1;
^
user.cpp:31:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
u[a][b]=u[b][a]=1;
^
user.cpp:39:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if((!u[s[i]][s[p]])&&(d[i][j]+1>d[p][j]))
^
user.cpp:39:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if((!u[s[i]][s[p]])&&(d[i][j]+1>d[p][j]))
^
user.cpp:42:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if((!u[s[j]][s[p]])&&(d[i][j]+1>d[i][p]))
^
user.cpp:42:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if((!u[s[j]][s[p]])&&(d[i][j]+1>d[i][p]))
^
user.cpp:15:35: warning: unused variable ‘q’ [-Wunused-variable]
int n, i, m, j, p, ans, l, c, q, aux;
^
user.cpp:15:38: warning: unused variable ‘aux’ [-Wunused-variable]
int n, i, m, j, p, ans, l, c, q, aux;
^
user.cpp:26:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d ", &m);
^
user.cpp:53:17: warning: ‘c’ may be used uninitialized in this function [-Wmaybe-uninitialized]
while((l!=0)||(c!=0)){
^
user.cpp:53:17: warning: ‘l’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 292kb | corect | 10 |
2 | 0ms | 308kb | corect | 10 |
3 | 0ms | 288kb | corect | 10 |
4 | 0ms | 308kb | corect | 10 |
5 | 0ms | 292kb | corect | 10 |
6 | 0ms | 296kb | corect | 10 |
7 | 0ms | 296kb | corect | 10 |
8 | 0ms | 300kb | corect | 10 |
9 | 0ms | 316kb | corect | 10 |
10 | 0ms | 304kb | corect | 10 |
Punctaj total | 100 |