Pagini recente » Borderou de evaluare (job #2485114) | Borderou de evaluare (job #1582368) | Borderou de evaluare (job #2147529) | Borderou de evaluare (job #2075160) | Borderou de evaluare (job #1385379)
Borderou de evaluare (job #1385379)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (k=0;k<v[x].size();k++)
^
user.cpp:12:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reinvent.in","r",stdin);
^
user.cpp:13:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reinvent.out","w",stdout);
^
user.cpp:14: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:15:79: 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",&a,&b),v[a].push_back(b),v[b].push_back(a);
^
user.cpp:16:62: 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),viz[x]=x,c.push_back(x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1460kb | OK | 10 |
| 2 | 0ms | 1468kb | OK | 10 |
| 3 | 0ms | 1504kb | OK | 10 |
| 4 | 12ms | 1780kb | OK | 10 |
| 5 | 68ms | 2856kb | OK | 10 |
| 6 | 76ms | 3072kb | OK | 10 |
| 7 | 108ms | 3636kb | OK | 10 |
| 8 | 116ms | 3772kb | OK | 10 |
| 9 | 108ms | 3636kb | OK | 10 |
| 10 | 104ms | 3680kb | OK | 10 |
| Punctaj total | 100 |