Pagini recente » Borderou de evaluare (job #1030454) | Borderou de evaluare (job #2117672) | Borderou de evaluare (job #563630) | Borderou de evaluare (job #1441875) | Borderou de evaluare (job #1394352)
Borderou de evaluare (job #1394352)
Raport evaluator
Compilare:
user.cpp: In function ‘void df()’:
user.cpp:19:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j=0;j<v[x].size();j++) if (!fort[v[x][j].first])
^
user.cpp:26:83: warning: left operand of comma operator has no effect [-Wunused-value]
if ((rez[a]==rez[x]+b)&&(vec[a]>vec[x])) rez[a]+rez[x]+b,vec[a]=vec[x],c.push_back(a);
^
user.cpp: In function ‘int main()’:
user.cpp:35: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:36: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:37:31: 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:38:84: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1;i<=k;i++) scanf("%d",&x),vec[x]=x,viz[x]=1,fort[x]=true,c.push_back(x);
^
user.cpp:41:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %lld",&x,&y,&cost);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 724kb | OK | 10 |
2 | 4ms | 880kb | OK | 10 |
3 | 12ms | 1056kb | OK | 10 |
4 | 0ms | 720kb | OK | 10 |
5 | 28ms | 1832kb | OK | 10 |
6 | 64ms | 2788kb | OK | 10 |
7 | 4ms | 864kb | OK | 10 |
8 | 12ms | 1148kb | OK | 10 |
9 | 40ms | 2200kb | OK | 10 |
10 | 108ms | 3900kb | OK | 10 |
Punctaj total | 100 |