Pagini recente » Borderou de evaluare (job #1170562) | Borderou de evaluare (job #2666041) | Borderou de evaluare (job #1147937) | Borderou de evaluare (job #377068) | Borderou de evaluare (job #1422732)
Borderou de evaluare (job #1422732)
Raport evaluator
Compilare:
user.cpp: In function ‘bool Check()’:
user.cpp:27:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<list[node].size();i++,it++){
^
user.cpp:32:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<nodes.size();i++){
^
user.cpp:33:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=i+1;j<nodes.size();j++){
^
user.cpp: In function ‘void Try(long int)’:
user.cpp:41:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(pas==list[node].size()){
^
user.cpp: In function ‘int main()’:
user.cpp:99:42: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
if(ans[4]) printf("%ld %lld",4,ans[4]); else
^
user.cpp:100:42: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
if(ans[3]) printf("%ld %lld",3,ans[3]); else
^
user.cpp:101:42: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld %lld",2,ans[2]);
^
user.cpp:57:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("count.in","r",stdin);
^
user.cpp:58:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("count.out","w",stdout);
^
user.cpp:60:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&n,&m);
^
user.cpp:62:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1132kb | OK | 10 |
2 | 0ms | 1132kb | OK | 10 |
3 | 0ms | 1140kb | OK | 10 |
4 | 0ms | 1164kb | OK | 10 |
5 | 8ms | 1264kb | OK | 10 |
6 | 12ms | 1348kb | OK | 10 |
7 | 8ms | 1264kb | OK | 10 |
8 | 64ms | 2688kb | OK | 10 |
9 | 280ms | 4120kb | OK | 10 |
10 | 136ms | 4096kb | OK | 10 |
Punctaj total | 100 |