Pagini recente » Borderou de evaluare (job #1000148) | Borderou de evaluare (job #1669683) | Borderou de evaluare (job #2912332) | Borderou de evaluare (job #776438) | Borderou de evaluare (job #2690863)
Borderou de evaluare (job #2690863)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:17:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0 ; i < v[nod].size() ; i++){
~~^~~~~~~~~~~~~~~
main.cpp: In function 'int bfs(int)':
main.cpp:43:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0 ; i < v[nod].size() ; i++){
~~^~~~~~~~~~~~~~~
main.cpp:28:28: warning: unused variable 'poz' [-Wunused-variable]
int i , vecin , maxi , poz;
^~~
main.cpp: In function 'int main()':
main.cpp:81:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j = 0 ; j < g[i].size() ; j++){
~~^~~~~~~~~~~~~
main.cpp:61:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin,"%d%d",&n,&m);
^
main.cpp:63:34: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin,"%d%d",&x,&y);
^
main.cpp: In function 'int bfs(int)':
main.cpp:52:12: warning: 'maxi' may be used uninitialized in this function [-Wmaybe-uninitialized]
return maxi;
^~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 14ms | 5373kb | OK | 10 |
| 2 | 16ms | 5373kb | OK | 10 |
| 3 | 58ms | 5373kb | OK | 10 |
| 4 | 48ms | 5373kb | OK | 10 |
| 5 | 174ms | 5636kb | OK | 10 |
| 6 | 97ms | 5373kb | OK | 10 |
| 7 | 229ms | 5505kb | OK | 10 |
| 8 | 128ms | 5505kb | OK | 10 |
| 9 | 130ms | 5505kb | OK | 10 |
| 10 | 50ms | 5373kb | OK | 10 |
| Punctaj total | 100 |