Pagini recente » Borderou de evaluare (job #3185832) | Borderou de evaluare (job #861729) | Borderou de evaluare (job #3147374) | Borderou de evaluare (job #2771366) | Borderou de evaluare (job #1285629)
Borderou de evaluare (job #1285629)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d%d",&n,&s);
^
user.cpp:8:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:16:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
{printf("%d ",v-i);r-=(v-i);}
^
user.cpp:17:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d ",v);r-=v;
^
user.cpp:19:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
{printf("%d ",v+i);r-=(v+i);}
^
user.cpp:20:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n",r);
^
user.cpp:28:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
{printf("%d ",v-i);r-=(v-i);}
^
user.cpp:31:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
{printf("%d ",v+i);r-=(v+i);}
^
user.cpp:32:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n",r);
^
user.cpp:5:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("noname3.in","r",stdin);
^
user.cpp:6:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("noname3.out","w",stdout);
^
user.cpp:8:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&s);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | 0ms | 244kb | OK | 10 | 10 |
✗ | 2 | 0ms | 236kb | Incorect | 0 | 0 |
✗ | 3 | 0ms | 240kb | Incorect | 0 | 0 |
✗ | 4 | 0ms | 236kb | Incorect | 0 | 0 |
✗ | 5 | 0ms | 240kb | Incorect | 0 | 0 |
✓ | 6 | 0ms | 236kb | OK | 10 | 0 |
✗ | 7 | 0ms | 236kb | OK | 10 |
✗ | 8 | 0ms | 240kb | Incorect | 0 |
✗ | 9 | 0ms | 236kb | Incorect | 0 | 0 |
✓ | 10 | Depăşit | 240kb | Time limit exceeded. | 0 | 0 |
Punctaj total | 10 |