foo.c: In function 'main':
foo.c:47:26: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
47 | if(op[1]==1) printf("%d\n",op[0]);
| ~^ ~~~~~
| | |
| int long long int
| %lld
foo.c:48:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
48 | else printf("%d/%d\n",op[0],op[1]);
| ~^ ~~~~~
| | |
| int long long int
| %lld
foo.c:48:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
48 | else printf("%d/%d\n",op[0],op[1]);
| ~^ ~~~~~
| | |
| int long long int
| %lld
foo.c:59:26: warning: format '%lld' expects a matching 'long long int' argument [-Wformat=]
59 | if(no==1) printf("[%lld],op[0]");
| ~~~^
| |
| long long int
foo.c:19:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
19 | scanf(" %s",s);
| ^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务