Pagini recente » Borderou de evaluare (job #2004114) | Borderou de evaluare (job #1999034) | Borderou de evaluare (job #504702) | Borderou de evaluare (job #1774311) | Borderou de evaluare (job #1736486)
Borderou de evaluare (job #1736486)
Raport evaluator
Compilare:
user.cpp: In function ‘void Dijsktra()’:
user.cpp:23:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<g[node].size();i++)
^
user.cpp:18:16: warning: variable ‘cost’ set but not used [-Wunused-but-set-variable]
int i,node,cost;
^
user.cpp: In function ‘int main()’:
user.cpp:32:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("catun.in","r",stdin);
^
user.cpp:33:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("catun.out","w",stdout);
^
user.cpp:35:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&m,&k);
^
user.cpp:39:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:45:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&a,&b,&c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 708kb | OK | 10 |
2 | 4ms | 828kb | OK | 10 |
3 | 12ms | 1052kb | OK | 10 |
4 | 0ms | 704kb | OK | 10 |
5 | 32ms | 1316kb | OK | 10 |
6 | 52ms | 2284kb | OK | 10 |
7 | 4ms | 844kb | OK | 10 |
8 | 12ms | 1052kb | OK | 10 |
9 | 40ms | 1580kb | OK | 10 |
10 | 96ms | 3020kb | OK | 10 |
Punctaj total | 100 |