Pagini recente » Borderou de evaluare (job #1118637) | Borderou de evaluare (job #1062666) | Borderou de evaluare (job #1547096) | Borderou de evaluare (job #2332037) | Borderou de evaluare (job #2135662)
Borderou de evaluare (job #2135662)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int, int, int)’:
user.cpp:22:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[nod].size();i++)
^
user.cpp:38:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[nod].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:59:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kdist.in","r",stdin);
^
user.cpp:60:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kdist.out","w",stdout);
^
user.cpp:62:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:65:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
user.cpp:69:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;i++) scanf("%d",&tip[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 20ms | 21364kb | OK | 10 |
2 | 24ms | 21484kb | OK | 10 |
3 | 48ms | 22876kb | OK | 10 |
4 | 36ms | 22044kb | OK | 10 |
5 | 204ms | 30116kb | OK | 10 |
6 | 280ms | 33388kb | OK | 10 |
7 | 544ms | 44388kb | OK | 10 |
8 | 676ms | 48612kb | OK | 10 |
9 | 812ms | 52568kb | OK | 10 |
10 | 788ms | 52304kb | OK | 10 |
Punctaj total | 100 |