Pagini recente » Borderou de evaluare (job #2737957) | Borderou de evaluare (job #2835011) | Borderou de evaluare (job #1804454) | Borderou de evaluare (job #2656130) | Borderou de evaluare (job #1827123)
Borderou de evaluare (job #1827123)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:10:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘long int *’ [-Wformat=]
scanf("%d%d",&a,&b);
^
user.c:10:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=]
user.c:35:9: warning: statement with no effect [-Wunused-value]
for(i;i<=b;i++)
^
user.c:45:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d %d",a,b1);
^
user.c:45:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
user.c:9:14: warning: unused variable ‘k’ [-Wunused-variable]
long a,b,k=1,j,i,b1;
^
user.c:7:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("difprim.in","r",stdin);
^
user.c:8:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("difprim.out","w",stdout);
^
user.c:10:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | Incorect | 0 |
2 | 0ms | 268kb | Incorect | 0 |
3 | 0ms | 260kb | Incorect | 0 |
4 | 0ms | 356kb | Incorect | 0 |
5 | 76ms | 2208kb | Incorect | 0 |
6 | 4ms | 2184kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 4ms | 2184kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 4ms | 2184kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 4ms | 2184kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 4ms | 2184kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |