Pagini recente » Borderou de evaluare (job #428593) | Borderou de evaluare (job #2544725) | Borderou de evaluare (job #1274119) | Borderou de evaluare (job #3218948) | Borderou de evaluare (job #1321513)
Borderou de evaluare (job #1321513)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:59:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<a[1].size();i++) {d[a[1][i].first]=a[1][i].second;t[a[1][i].first]=1;}
^
user.cpp:55:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{fscanf(f1,"%d%d",&n,&m);
^
user.cpp:56:49: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1;i<=m;i++) {fscanf(f1,"%d%d%d",&u,&v,&c);a[u].push_back(make_pair(v,c));a[v].push_back(make_pair(u,c));}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 2624kb | Corect | 10 |
2 | 4ms | 2620kb | Corect | 10 |
3 | 4ms | 2632kb | Cost incorect | 0 |
4 | 4ms | 2628kb | Cost incorect | 0 |
5 | 4ms | 2636kb | Cost incorect | 0 |
6 | 156ms | 6068kb | Cost incorect | 0 |
7 | 400ms | 9084kb | Cost incorect | 0 |
8 | 52ms | 3980kb | Cost incorect | 0 |
9 | 52ms | 4148kb | Cost incorect | 0 |
10 | 284ms | 8052kb | Cost incorect | 0 |
Punctaj total | 20 |