Pagini recente » Borderou de evaluare (job #3279906) | Borderou de evaluare (job #2950938) | Borderou de evaluare (job #2953625) | Borderou de evaluare (job #1201286) | Borderou de evaluare (job #1848326)
Borderou de evaluare (job #1848326)
Raport evaluator
Compilare:
user.cpp: In function ‘void BFS(int, int)’:
user.cpp:24:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < a[x].size(); ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:37:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,x,y,res=0;
^
user.cpp:34:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("graf.in","r",stdin);
^
user.cpp:35:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("graf.out","w",stdout);
^
user.cpp:39: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,&X,&Y);
^
user.cpp:42: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 | 360kb | OK | 10 |
2 | 0ms | 364kb | OK | 10 |
3 | 0ms | 364kb | OK | 10 |
4 | 0ms | 372kb | OK | 10 |
5 | 0ms | 368kb | OK | 10 |
6 | 12ms | 700kb | OK | 10 |
7 | 4ms | 480kb | OK | 10 |
8 | 8ms | 640kb | OK | 10 |
9 | 12ms | 688kb | OK | 10 |
10 | 12ms | 700kb | OK | 10 |
Punctaj total | 100 |