Pagini recente » Borderou de evaluare (job #2357430) | Borderou de evaluare (job #926437) | Borderou de evaluare (job #2093272) | Borderou de evaluare (job #1760924) | Borderou de evaluare (job #1385378)
Borderou de evaluare (job #1385378)
Raport evaluator
Compilare:
user.cpp: In function ‘void dist(int)’:
user.cpp:24:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j=0;j<v[x].size();j++)
^
user.cpp: In function ‘int main()’:
user.cpp:33:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("amici2.in","r",stdin);
^
user.cpp:34:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("amici2.out","w",stdout);
^
user.cpp:35:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:38:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.cpp:41:84: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1;i<=m;i++) scanf("%d %d",&x,&y),v[x].push_back(y),v[y].push_back(x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 660kb | Corect! | 10 |
2 | 4ms | 720kb | Corect! | 10 |
3 | 4ms | 720kb | Corect! | 10 |
4 | 24ms | 1076kb | Corect! | 10 |
5 | 76ms | 1992kb | Corect! | 10 |
6 | 96ms | 2276kb | Corect! | 10 |
7 | 88ms | 2212kb | Corect! | 10 |
8 | 116ms | 2640kb | Corect! | 10 |
9 | 108ms | 2540kb | Corect! | 10 |
10 | 140ms | 2988kb | Corect! | 10 |
Punctaj total | 100 |