Pagini recente » Borderou de evaluare (job #953835) | Borderou de evaluare (job #2579149) | Borderou de evaluare (job #1111074) | Borderou de evaluare (job #3214897) | Borderou de evaluare (job #1927088)
Borderou de evaluare (job #1927088)
Raport evaluator
Compilare:
user.cpp: In function ‘void Read()’:
user.cpp:19:9: warning: unused variable ‘i’ [-Wunused-variable]
int i,m,x,y,cost;
^
user.cpp: In function ‘void Dijkstra()’:
user.cpp:45:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<G[u].size();++i)
^
user.cpp: In function ‘void Read()’:
user.cpp:21: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:23: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:25:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&x,&y,&cost);
^
user.cpp: In function ‘void Write()’:
user.cpp:63: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);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 864kb | OK | 10 |
2 | 0ms | 868kb | OK | 10 |
3 | 0ms | 904kb | OK | 10 |
4 | 0ms | 912kb | OK | 10 |
5 | 24ms | 1240kb | OK | 10 |
6 | 48ms | 1584kb | OK | 10 |
7 | 60ms | 1752kb | OK | 10 |
8 | 144ms | 2640kb | OK | 10 |
9 | 92ms | 2108kb | OK | 10 |
10 | 324ms | 4748kb | OK | 10 |
Punctaj total | 100 |