Pagini recente » Borderou de evaluare (job #1847741) | Borderou de evaluare (job #2585747) | Borderou de evaluare (job #392870) | Borderou de evaluare (job #2337611) | Borderou de evaluare (job #1709702)
Borderou de evaluare (job #1709702)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:13:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘long int *’ [-Wformat=]
scanf("%d", &t);
^
user.c:17:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘long int *’ [-Wformat=]
scanf("%d", &n);
^
user.c:45:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n",x);
^
user.c:47:13: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d %d\n", a[i], b[i]);
^
user.c:47:13: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
user.c:10:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("consecutive.in", "r", stdin);
^
user.c:11:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("consecutive.out", "w", stdout);
^
user.c:13:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.c:17:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | Incorect | 0 |
Punctaj total | 0 |