Pagini recente » Borderou de evaluare (job #1063647) | Borderou de evaluare (job #3211213) | Borderou de evaluare (job #3216306) | Borderou de evaluare (job #2585983) | Borderou de evaluare (job #1706982)
Borderou de evaluare (job #1706982)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:18: warning: unused variable ‘j’ [-Wunused-variable]
int n, m, i, j, g, x, y, c;
^
user.cpp: In function ‘void dijkstra()’:
user.cpp:56:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( i = 0; i < v[ x ].size(); ++i ){
^
user.cpp: In function ‘int main()’:
user.cpp:20:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("camionas.in","r",stdin);
^
user.cpp:21:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("camionas.out","w",stdout);
^
user.cpp:25:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&m,&g);
^
user.cpp:28:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&x,&y,&c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 864kb | OK | 10 |
2 | 0ms | 868kb | OK | 10 |
3 | 0ms | 896kb | OK | 10 |
4 | 4ms | 1012kb | OK | 10 |
5 | 8ms | 1124kb | OK | 10 |
6 | 40ms | 1992kb | OK | 10 |
7 | 80ms | 2972kb | OK | 10 |
8 | 68ms | 2644kb | OK | 10 |
9 | 124ms | 3788kb | OK | 10 |
10 | 124ms | 3788kb | OK | 10 |
Punctaj total | 100 |