Pagini recente »
2021-11-17-clasa-6-tema-08
|
Borderou de evaluare (job #824251)
|
Borderou de evaluare (job #118342)
|
Borderou de evaluare (job #790512)
|
Borderou de evaluare (job #747047)
Borderou de evaluare (job #747047)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:9:11: warning: passing argument 1 of 'scanf' from incompatible pointer type [-Wincompatible-pointer-types]
9 | scanf(fin,"%d",&N);
| ^~~
| |
| FILE *
In file included from main.c:1:
/usr/include/stdio.h:421:42: note: expected 'const char * restrict' but argument is of type 'FILE *'
421 | extern int scanf (const char *__restrict __format, ...) __wur;
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:11:10: warning: statement with no effect [-Wunused-value]
11 | for(i<=N;i++;){
| ~^~~
main.c:14:15: warning: passing argument 1 of 'scanf' from incompatible pointer type [-Wincompatible-pointer-types]
14 | scanf(fin,"%d",&x);
| ^~~
| |
| FILE *
/usr/include/stdio.h:421:42: note: expected 'const char * restrict' but argument is of type 'FILE *'
421 | extern int scanf (const char *__restrict __format, ...) __wur;
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:22:13: warning: passing argument 1 of 'scanf' from incompatible pointer type [-Wincompatible-pointer-types]
22 | scanf(fin,"%d",&j);
| ^~~
| |
| FILE *
/usr/include/stdio.h:421:42: note: expected 'const char * restrict' but argument is of type 'FILE *'
421 | extern int scanf (const char *__restrict __format, ...) __wur;
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:34:12: warning: passing argument 1 of 'printf' from incompatible pointer type [-Wincompatible-pointer-types]
34 | printf(fout,H);
| ^~~~
| |
| FILE *
In file included from /usr/include/stdio.h:906:
/usr/include/bits/stdio2.h:84:32: note: expected 'const char * restrict' but argument is of type 'FILE *'
84 | printf (const char *__restrict __fmt, ...)
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
main.c:7:15: warning: unused variable 'm' [-Wunused-variable]
7 | int N,H,i,m,x=0,z,j=0,n;
| ^
main.c:9:5: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | scanf(fin,"%d",&N);
| ^~~~~~~~~~~~~~~~~~
main.c:14:9: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | scanf(fin,"%d",&x);
| ^~~~~~~~~~~~~~~~~~
main.c:22:7: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
22 | scanf(fin,"%d",&j);
| ^~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
105 ms
|
1556 kb
|
Time limit exceeded
|
0
|
2
|
104 ms
|
1036 kb
|
Time limit exceeded
|
0
|
3
|
105 ms
|
1298 kb
|
Time limit exceeded
|
0
|
4
|
105 ms
|
1298 kb
|
Time limit exceeded
|
0
|
5
|
105 ms
|
1294 kb
|
Time limit exceeded
|
0
|
6
|
105 ms
|
1298 kb
|
Time limit exceeded
|
0
|
7
|
105 ms
|
1298 kb
|
Time limit exceeded
|
0
|
8
|
105 ms
|
1298 kb
|
Time limit exceeded
|
0
|
9
|
105 ms
|
1294 kb
|
Time limit exceeded
|
0
|
10
|
104 ms
|
1294 kb
|
Time limit exceeded
|
0
|
Punctaj total
|
0
|