Pagini recente » Borderou de evaluare (job #2941791) | Borderou de evaluare (job #260923) | Borderou de evaluare (job #2297062) | Borderou de evaluare (job #2575853) | Borderou de evaluare (job #1230990)
Borderou de evaluare (job #1230990)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
for (i=1;i<=k;i++) scanf("%d",&x[i]);
^
user.cpp:14:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
if (n==1) {printf("%d",v-k); return 0;}
^
user.cpp:19:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",s);
^
user.cpp:36:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",s);
^
user.cpp:8:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("progresii3.in","r",stdin);
^
user.cpp:9:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("progresii3.out","w",stdout);
^
user.cpp:10:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld %lld",&v,&n,&k); minn=1000000000000;
^
user.cpp:11:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1;i<=k;i++) scanf("%d",&x[i]);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✗ | 1 | 0ms | 260kb | OK | 10 | 10 |
✓ | 2 | 0ms | 256kb | Incorect | 0 | 0 |
✗ | 3 | 0ms | 256kb | Incorect | 0 | 0 |
✗ | 4 | 0ms | 260kb | Incorect | 0 |
✗ | 5 | 0ms | 260kb | Incorect | 0 | 0 |
✗ | 6 | 0ms | 256kb | Incorect | 0 |
✓ | 7 | 0ms | 256kb | Incorect | 0 | 0 |
✗ | 8 | 0ms | 252kb | Incorect | 0 |
✗ | 9 | 0ms | 256kb | Incorect | 0 |
✗ | 10 | 0ms | 256kb | Incorect | 0 | 0 |
Punctaj total | 10 |