Pagini recente » Borderou de evaluare (job #1129885) | Borderou de evaluare (job #1956554) | Borderou de evaluare (job #796002) | Borderou de evaluare (job #2496675) | Borderou de evaluare (job #2532472)
Borderou de evaluare (job #2532472)
Raport evaluator
Compilare:
main.cpp: In function 'int dijkstra(int)':
main.cpp:35:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j = 0 ; j < G[x].size() ; j ++)
~~^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:78: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:79: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:81: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:83:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &type[i]);
^
main.cpp:84:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &m);
^
main.cpp:87: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 | 393kb | OK | 10 |
2 | 66ms | 917kb | OK | 10 |
3 | 4ms | 393kb | OK | 10 |
4 | 101ms | 655kb | Time limit exceeded | 0 |
5 | 101ms | 917kb | Time limit exceeded | 0 |
6 | 100ms | 1310kb | Time limit exceeded | 0 |
7 | 101ms | 786kb | Time limit exceeded | 0 |
8 | 4ms | 393kb | OK | 10 |
9 | 2ms | 131kb | OK | 10 |
10 | 21ms | 393kb | OK | 10 |
Punctaj total | 60 |