Pagini recente » Borderou de evaluare (job #1333230) | Borderou de evaluare (job #3026102) | Borderou de evaluare (job #2579905) | Borderou de evaluare (job #1218634) | Borderou de evaluare (job #2649665)
Borderou de evaluare (job #2649665)
Raport evaluator
Compilare:
main.cpp: In function 'int dijkstra(int)':
main.cpp:32:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j = 0 ; j < G[x].size() ; j ++)
~~^~~~~~~~~~~~~
main.cpp:18:25: warning: unused variable 'timp' [-Wunused-variable]
int i , j , x , y , timp , w , new_w , wmin;
^~~~
main.cpp: In function 'int main()':
main.cpp:75:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("lanterna.in" , "r" , stdin);
^
main.cpp:76:43: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("lanterna.out" , "w" , stdout);
^
main.cpp:78:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d" , &n , &k);
^
main.cpp:80:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &type[i]);
^
main.cpp:81:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &m);
^
main.cpp:84:46: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d" , &x , &y , &z , &t);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 393kb | OK | 10 |
| 2 | 24ms | 524kb | OK | 10 |
| 3 | 3ms | 393kb | OK | 10 |
| 4 | 64ms | 446kb | OK | 10 |
| 5 | 70ms | 393kb | OK | 10 |
| 6 | 88ms | 524kb | OK | 10 |
| 7 | 82ms | 393kb | OK | 10 |
| 8 | 4ms | 393kb | OK | 10 |
| 9 | 3ms | 131kb | OK | 10 |
| 10 | 11ms | 393kb | OK | 10 |
| Punctaj total | 100 |