Pagini recente » Borderou de evaluare (job #3191421) | Borderou de evaluare (job #1437325) | Borderou de evaluare (job #362602) | Borderou de evaluare (job #1382093) | Borderou de evaluare (job #2532489)
Borderou de evaluare (job #2532489)
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 | 5ms | 397kb | OK | 10 |
2 | 70ms | 655kb | OK | 10 |
3 | 4ms | 393kb | OK | 10 |
4 | 101ms | 655kb | Time limit exceeded | 0 |
5 | 100ms | 917kb | Time limit exceeded | 0 |
6 | 100ms | 921kb | Time limit exceeded | 0 |
7 | 103ms | 917kb | Time limit exceeded | 0 |
8 | 5ms | 393kb | OK | 10 |
9 | 2ms | 131kb | OK | 10 |
10 | 101ms | 393kb | Time limit exceeded | 0 |
Punctaj total | 50 |