Pagini recente »
Borderou de evaluare (job #455719)
|
Borderou de evaluare (job #264932)
|
Borderou de evaluare (job #304277)
|
Borderou de evaluare (job #123329)
|
Borderou de evaluare (job #726287)
Borderou de evaluare (job #726287)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:15:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
15 | if(nr%5==0)
| ^~
main.c:17:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
17 | n=n-1;
| ^
main.c:32:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
32 | else
| ^~~~
main.c:34:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
34 | fclose( fout );
| ^~~~~~
main.c:7:13: warning: unused variable 'i' [-Wunused-variable]
7 | int n,nr,i=1,a,c,z=1,y=0,prim;
| ^
main.c:9:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | fscanf(fin, "%d",&n);
| ^~~~~~~~~~~~~~~~~~~~
main.c:11:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | fscanf(fin, "%d",&nr);
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:906,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:31:6:
/usr/include/bits/stdio2.h:79:10: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized]
79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
80 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
main.c: In function 'main':
main.c:7:19: note: 'c' was declared here
7 | int n,nr,i=1,a,c,z=1,y=0,prim;
| ^
In function 'fprintf',
inlined from 'main' at main.c:33:7:
/usr/include/bits/stdio2.h:79:10: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized]
79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
80 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
main.c: In function 'main':
main.c:7:17: note: 'a' was declared here
7 | int n,nr,i=1,a,c,z=1,y=0,prim;
| ^
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
Incorect
|
0
|
2
|
1 ms
|
241 kb
|
Incorect
|
0
|
3
|
1 ms
|
245 kb
|
Incorect
|
0
|
4
|
1 ms
|
245 kb
|
Incorect
|
0
|
5
|
1 ms
|
245 kb
|
Incorect
|
0
|
6
|
1 ms
|
245 kb
|
Incorect
|
0
|
7
|
1 ms
|
245 kb
|
Incorect
|
0
|
8
|
1 ms
|
245 kb
|
Incorect
|
0
|
9
|
1 ms
|
245 kb
|
Incorect
|
0
|
10
|
1 ms
|
245 kb
|
Incorect
|
0
|
11
|
1 ms
|
245 kb
|
Incorect
|
0
|
12
|
1 ms
|
245 kb
|
Incorect
|
0
|
13
|
1 ms
|
241 kb
|
Incorect
|
0
|
14
|
1 ms
|
245 kb
|
Incorect
|
0
|
15
|
1 ms
|
241 kb
|
Incorect
|
0
|
16
|
1 ms
|
245 kb
|
Incorect
|
0
|
17
|
1 ms
|
241 kb
|
Incorect
|
0
|
18
|
1 ms
|
245 kb
|
Incorect
|
0
|
19
|
1 ms
|
245 kb
|
Incorect
|
0
|
20
|
59 ms
|
249 kb
|
Time limit exceeded
|
0
|
Punctaj total
|
0
|