Pagini recente » Borderou de evaluare (job #1389981) | Borderou de evaluare (job #251553) | Borderou de evaluare (job #856323) | Borderou de evaluare (job #3269084) | Borderou de evaluare (job #1774119)
Borderou de evaluare (job #1774119)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:77:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
for(int i=1;i<=n;i++) scanf("%d",&v[i]);
^
user.cpp:73:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lanterna.in","r",stdin);
^
user.cpp:74:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lanterna.out","w",stdout);
^
user.cpp:76:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:77:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;i++) scanf("%d",&v[i]);
^
user.cpp:78:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:80:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&a,&b,&t,&w);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 532kb | OK | 10 |
2 | 4ms | 632kb | OK | 10 |
3 | 0ms | 504kb | OK | 10 |
4 | 36ms | 596kb | OK | 10 |
5 | 4ms | 552kb | OK | 10 |
6 | 44ms | 688kb | OK | 10 |
7 | 68ms | 612kb | OK | 10 |
8 | 0ms | 508kb | OK | 10 |
9 | 0ms | 312kb | OK | 10 |
10 | 4ms | 524kb | OK | 10 |
Punctaj total | 100 |