Pagini recente »
Borderou de evaluare (job #504085)
|
Borderou de evaluare (job #397222)
|
Borderou de evaluare (job #356066)
|
Borderou de evaluare (job #244961)
|
Borderou de evaluare (job #770719)
Borderou de evaluare (job #770719)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:48:24: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long int' [-Wformat=]
48 | fprintf(fout,"%d %I64d",nr+1,max);
| ~~~~^ ~~~
| | |
| int long long int
| %I64lld
main.c:15:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | fscanf(fin,"%d%d%d",&n,&k,&p);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:21:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
21 | fscanf(fin,"%d",&a);
| ^~~~~~~~~~~~~~~~~~~
main.c:48:3: warning: 'nr' may be used uninitialized [-Wmaybe-uninitialized]
48 | fprintf(fout,"%d %I64d",nr+1,max);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:13:25: note: 'nr' was declared here
13 | int n,k,p,i,j,s,a,d,b,nr;
| ^~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
10
|
2
|
1 ms
|
245 kb
|
OK
|
10
|
3
|
1 ms
|
245 kb
|
OK
|
10
|
4
|
1 ms
|
249 kb
|
OK
|
10
|
5
|
39 ms
|
524 kb
|
OK
|
10
|
6
|
279 ms
|
3657 kb
|
OK
|
10
|
7
|
549 ms
|
5226 kb
|
OK
|
10
|
8
|
509 ms
|
2871 kb
|
Incorect
|
0
|
9
|
648 ms
|
8634 kb
|
OK
|
10
|
10
|
629 ms
|
8630 kb
|
OK
|
10
|
Punctaj total
|
90
|