Pagini recente » Borderou de evaluare (job #1941779) | Borderou de evaluare (job #79121) | Borderou de evaluare (job #2686227) | Borderou de evaluare (job #2358758) | Borderou de evaluare (job #2429484)
Borderou de evaluare (job #2429484)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:23:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(q.size()-1>=pas)
~~~~~~~~~~^~~~~
main.cpp:13:25: warning: unused variable 'last' [-Wunused-variable]
int n,m,s,orig,dest,last,i;
^~~~
main.cpp:11:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("bfs.in","r",stdin);
^
main.cpp:12:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("bfs.out","w",stdout);
^
main.cpp:14:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&m,&s);
^
main.cpp:17:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&orig,&dest);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 7ms | 2490kb | OK | 10 |
2 | 7ms | 2490kb | OK | 10 |
3 | 7ms | 2490kb | OK | 10 |
4 | 12ms | 2621kb | OK | 10 |
5 | 20ms | 2752kb | OK | 10 |
6 | 75ms | 3670kb | OK | 10 |
7 | 196ms | 5373kb | OK | 10 |
8 | 194ms | 6291kb | OK | 10 |
9 | 857ms | 11919kb | OK | 10 |
10 | 874ms | 11923kb | OK | 10 |
Punctaj total | 100 |