Pagini recente » Borderou de evaluare (job #1521814) | Borderou de evaluare (job #110746) | Borderou de evaluare (job #3295227) | Borderou de evaluare (job #2210236) | Borderou de evaluare (job #1422711)
Borderou de evaluare (job #1422711)
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:41: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
if(ans[4]) printf("%ld %ld",4,ans[4]); else
^
user.cpp:100:41: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
if(ans[3]) printf("%ld %ld",3,ans[3]); else
^
user.cpp:101:41: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld %ld",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 | 1136kb | OK | 10 |
2 | 0ms | 1132kb | OK | 10 |
3 | 0ms | 1148kb | OK | 10 |
4 | 0ms | 1168kb | OK | 10 |
5 | 4ms | 1268kb | Incorect | 0 |
6 | 8ms | 1348kb | Incorect | 0 |
7 | 4ms | 1260kb | Incorect | 0 |
8 | 52ms | 2692kb | Incorect | 0 |
9 | 224ms | 4124kb | OK | 10 |
10 | 104ms | 4104kb | Incorect | 0 |
Punctaj total | 50 |