-
Hi,all #include <stdio.h>
int main() {
int n;
scanf("%d",&n);
n=n*(n+3);
printf("%d",n);
return 0;
} version 2: #include <stdio.h>
int main() {
int num;
scanf("%d",&num);
num=num*num+3*num;
printf("%d",num);
return 0;
} the two source code above are apparently the same code,but JPlag output the error info below on the terminal:
can anyone help me about this problem? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Both of your files are pretty short, and thus result in only 8 tokens each. To avoid false positives, JPlag ignorey matches below a certain length. For CPP, the minimum is 12. However, you can tweak that with |
Beta Was this translation helpful? Give feedback.
Both of your files are pretty short, and thus result in only 8 tokens each. To avoid false positives, JPlag ignorey matches below a certain length. For CPP, the minimum is 12. However, you can tweak that with
-t 7
if you want; just be aware that with increased sensitivity, the likelihood of falsely matched programs rises.