Pagini recente »
Borderou de evaluare (job #291026)
|
Borderou de evaluare (job #479034)
|
Borderou de evaluare (job #179814)
|
Borderou de evaluare (job #610017)
|
Borderou de evaluare (job #749858)
Borderou de evaluare (job #749858)
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%d",&m,&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:13:10: warning: statement with no effect [-Wunused-value]
13 | for(i<10;i++;){
| ~^~~
main.c:34:12: warning: passing argument 1 of 'printf' from incompatible pointer type [-Wincompatible-pointer-types]
34 | printf(fout,"%d",c);
| ^~~~
| |
| 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:9:5: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | scanf(fin,"%d%d",&m,&n);
| ^~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
249 kb
|
Incorect
|
0
|
2
|
1 ms
|
249 kb
|
Incorect
|
0
|
3
|
1 ms
|
249 kb
|
Incorect
|
0
|
4
|
1 ms
|
249 kb
|
Incorect
|
0
|
5
|
1 ms
|
249 kb
|
Incorect
|
0
|
6
|
1 ms
|
249 kb
|
Incorect
|
0
|
7
|
2 ms
|
249 kb
|
Incorect
|
0
|
8
|
2 ms
|
249 kb
|
Incorect
|
0
|
9
|
1 ms
|
249 kb
|
Incorect
|
0
|
10
|
2 ms
|
249 kb
|
Incorect
|
0
|
Punctaj total
|
0
|