Pagini recente » Borderou de evaluare (job #1434208) | Borderou de evaluare (job #1491122) | Borderou de evaluare (job #2998879) | Borderou de evaluare (job #2931738) | Borderou de evaluare (job #2480283)
Borderou de evaluare (job #2480283)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:41:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d%d",&n,&m,&s);
^
main.cpp:43:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d",&a,&b);
^
main.cpp: In function 'void bfs(int)':
main.cpp:19:9: warning: iteration 100000 invokes undefined behavior [-Waggressive-loop-optimizations]
d[i]=-1;
~~~~^~~
main.cpp:18:12: note: within this loop
for(i=1;i<=100001;i++)
~^~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 524kb | OK | 10 |
2 | 3ms | 524kb | OK | 10 |
3 | 3ms | 524kb | OK | 10 |
4 | 8ms | 655kb | OK | 10 |
5 | 14ms | 655kb | OK | 10 |
6 | 59ms | 1310kb | OK | 10 |
7 | 143ms | 2621kb | OK | 10 |
8 | 142ms | 2621kb | OK | 10 |
9 | 733ms | 9568kb | OK | 10 |
10 | 712ms | 9568kb | OK | 10 |
Punctaj total | 100 |