Pagini recente »
Borderou de evaluare (job #763022)
Borderou de evaluare (job #763022)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:14:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
14 | if(a==1)
| ^~
main.c:16:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
16 | if(a==2)
| ^~
main.c:23:7: warning: implicit declaration of function 'sqrt' [-Wimplicit-function-declaration]
23 | y=sqrt(y);
| ^~~~
main.c:3:1: note: include '<math.h>' or provide a declaration of 'sqrt'
2 | #include <stdlib.h>
+++ |+#include <math.h>
3 | int main()
main.c:23:7: warning: incompatible implicit declaration of built-in function 'sqrt' [-Wbuiltin-declaration-mismatch]
23 | y=sqrt(y);
| ^~~~
main.c:23:7: note: include '<math.h>' or provide a declaration of 'sqrt'
main.c:8:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
8 | fscanf(fin,"%d",&e);
| ^~~~~~~~~~~~~~~~~~~
main.c:11:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | fscanf(fin,"%d",&n);
| ^~~~~~~~~~~~~~~~~~~
main.c:13:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | fscanf(fin,"%d",&a);
| ^~~~~~~~~~~~~~~~~~~
main.c:21:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
21 | fscanf(fin,"%d",&n);
| ^~~~~~~~~~~~~~~~~~~
main.c:26:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
26 | fscanf(fin,"%d",&n);
| ^~~~~~~~~~~~~~~~~~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
245 kb
|
OK
|
5
|
|
2
|
1 ms
|
249 kb
|
OK
|
5
|
|
3
|
1 ms
|
245 kb
|
OK
|
5
|
|
4
|
1 ms
|
245 kb
|
OK
|
5
|
|
5
|
1 ms
|
245 kb
|
OK
|
5
|
|
6
|
1 ms
|
249 kb
|
OK
|
5
|
|
7
|
1 ms
|
249 kb
|
OK
|
5
|
|
8
|
1 ms
|
245 kb
|
OK
|
5
|
|
9
|
1 ms
|
249 kb
|
OK
|
5
|
|
10
|
1 ms
|
245 kb
|
OK
|
5
|
|
11
|
1 ms
|
245 kb
|
OK
|
5
|
|
12
|
1 ms
|
245 kb
|
OK
|
5
|
|
13
|
1 ms
|
245 kb
|
OK
|
5
|
|
14
|
1 ms
|
245 kb
|
OK
|
5
|
|
15
|
1 ms
|
245 kb
|
OK
|
5
|
|
16
|
1 ms
|
245 kb
|
OK
|
5
|
|
17
|
1 ms
|
245 kb
|
OK
|
5
|
|
18
|
1 ms
|
245 kb
|
OK
|
5
|
|
19
|
1 ms
|
245 kb
|
OK
|
5
|
|
20
|
1 ms
|
245 kb
|
OK
|
5
|
|
Penalizare: 15% (pentru 3 submisie/ii)
|
15%
|
|
Punctaj total
|
85
|