Pagini recente » Borderou de evaluare (job #2457786) | Borderou de evaluare (job #2528918) | Borderou de evaluare (job #1748585) | Borderou de evaluare (job #556256) | Borderou de evaluare (job #1411025)
Borderou de evaluare (job #1411025)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(long int)’:
user.cpp:24:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(long i=0;i<list[node].size();i++){
^
user.cpp: In function ‘void dfs2(long int)’:
user.cpp:34:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(long i=0;i<rlist[node].size();i++){
^
user.cpp: In function ‘int main()’:
user.cpp:79:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<mb.size();i++){
^
user.cpp:85:30: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘std::vector<std::pair<long int, long int> >::size_type {aka unsigned int}’ [-Wformat=]
printf("%ld\n",ans.size());
^
user.cpp:86:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<ans.size();i++) printf("%ld %ld\n",ans[i].xx,ans[i].yy);
^
user.cpp:57:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tarnacop.in","r",stdin);
^
user.cpp:58:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tarnacop.out","w",stdout);
^
user.cpp:60:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld%ld%ld",&n,&m,&s,&d);
^
user.cpp:62:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld%ld%ld",&x,&y,&C,&I);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 2780kb | OK | 10 |
2 | 4ms | 2792kb | OK | 10 |
3 | 4ms | 2788kb | OK | 10 |
4 | 24ms | 3232kb | OK | 10 |
5 | 24ms | 3256kb | OK | 10 |
6 | 28ms | 3312kb | OK | 10 |
7 | 24ms | 3224kb | OK | 10 |
8 | 28ms | 3308kb | OK | 10 |
9 | 28ms | 3296kb | OK | 10 |
10 | 28ms | 3320kb | OK | 10 |
Punctaj total | 100 |