Pagini recente » Borderou de evaluare (job #2603457) | Borderou de evaluare (job #2847531) | Borderou de evaluare (job #3130064) | Borderou de evaluare (job #659874) | Borderou de evaluare (job #2196029)
Borderou de evaluare (job #2196029)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for(int i=2;i<=n;i++)
^~~
user.cpp:22:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
q.push({0,1});
^
user.cpp:30:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<frunza[ind].size();i++)
~^~~~~~~~~~~~~~~~~~~
user.cpp:12: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:13: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:14:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:17:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&x,&y,&l);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1908kb | OK | 10 |
2 | 0ms | 1908kb | OK | 10 |
3 | 0ms | 1944kb | OK | 10 |
4 | 4ms | 1956kb | OK | 10 |
5 | 24ms | 2256kb | OK | 10 |
6 | 48ms | 2616kb | OK | 10 |
7 | 60ms | 2756kb | OK | 10 |
8 | 152ms | 3724kb | OK | 10 |
9 | 100ms | 3224kb | OK | 10 |
10 | 300ms | 5888kb | OK | 10 |
Punctaj total | 100 |