Pagini recente » Borderou de evaluare (job #1440411) | Borderou de evaluare (job #569300) | Borderou de evaluare (job #2194860) | Borderou de evaluare (job #2637255) | Borderou de evaluare (job #1816411)
Borderou de evaluare (job #1816411)
Raport evaluator
Compilare:
user.cpp: In function ‘void bfs(int, int*, int*)’:
user.cpp:20:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j=0;j<v[k].size();j++) {
^
user.cpp:15:9: warning: unused variable ‘i’ [-Wunused-variable]
int i,j,k;
^
user.cpp: In function ‘void solve2(int, int)’:
user.cpp:47:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<v[k].size();i++)
^
user.cpp: In function ‘void solve(int, int)’:
user.cpp:61:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<v[k].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:69:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,k,x,y;
^
user.cpp:69:13: warning: unused variable ‘k’ [-Wunused-variable]
int i,j,k,x,y;
^
user.cpp:70:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("path2.in","r",stdin);
^
user.cpp:71:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("path2.out","w",stdout);
^
user.cpp:72:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d",&n,&m,&p,&q);
^
user.cpp:75:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | corect | 10 |
2 | 0ms | 280kb | corect | 10 |
3 | 0ms | 280kb | corect | 10 |
4 | 0ms | 288kb | corect | 10 |
5 | 0ms | 292kb | corect | 10 |
6 | 0ms | 280kb | corect | 10 |
7 | 0ms | 296kb | corect | 10 |
8 | 0ms | 296kb | corect | 10 |
9 | 0ms | 296kb | corect | 10 |
10 | 0ms | 304kb | corect | 10 |
Punctaj total | 100 |