Pagini recente » Borderou de evaluare (job #1442555) | Borderou de evaluare (job #1029209) | Borderou de evaluare (job #792290) | Borderou de evaluare (job #2950341) | Borderou de evaluare (job #2114803)
Borderou de evaluare (job #2114803)
Raport evaluator
Compilare:
user.cpp: In function ‘void dijkstra(int)’:
user.cpp:44:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<leg[poz].size(); ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:73:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ",D[i]);
^
user.cpp:55:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dijkstra.in","r",stdin);
^
user.cpp:56:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dijkstra.out","w",stdout);
^
user.cpp:57:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&N,&M);
^
user.cpp:62:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&x,&y,&z);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1036kb | OK | 10 |
2 | 0ms | 1036kb | OK | 10 |
3 | 0ms | 1072kb | OK | 10 |
4 | 0ms | 1092kb | OK | 10 |
5 | 24ms | 1440kb | OK | 10 |
6 | 44ms | 1824kb | OK | 10 |
7 | 60ms | 2036kb | OK | 10 |
8 | 144ms | 3292kb | OK | 10 |
9 | 96ms | 2372kb | OK | 10 |
10 | 280ms | 5220kb | OK | 10 |
Punctaj total | 100 |