Pagini recente »
Borderou de evaluare (job #607379)
Borderou de evaluare (job #607379)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:22:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
22 | for(i=a-1;i<b-1;i++)
| ^~~
main.c:25:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
25 | M=M-v2[0];i=1;
| ^
main.c:10:32: warning: unused variable 'g' [-Wunused-variable]
10 | int n,a,b,M,i=0,sum=0,tt,m,g,tem1,tem2,s=0,gara=1;
| ^
main.c:10:30: warning: unused variable 'm' [-Wunused-variable]
10 | int n,a,b,M,i=0,sum=0,tt,m,g,tem1,tem2,s=0,gara=1;
| ^
main.c:10:27: warning: unused variable 'tt' [-Wunused-variable]
10 | int n,a,b,M,i=0,sum=0,tt,m,g,tem1,tem2,s=0,gara=1;
| ^~
main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | fscanf(fin,"%d %d",&a,&b);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | fscanf(fin,"%d",&M);
| ^~~~~~~~~~~~~~~~~~~
main.c:13:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | fscanf(fin,"%d",&n);
| ^~~~~~~~~~~~~~~~~~~
main.c:15:21: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | if (i<n-1) {fscanf(fin,"%d %d",&tem1,&tem2);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:18:15: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
18 | else {fscanf(fin," %d",&v2[i]);sum=sum+v2[i];}
| ^~~~~~~~~~~~~~~~~~~~~~~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
2 ms
|
131 kb
|
OK
|
10
|
|
2
|
1 ms
|
131 kb
|
a) OK; b) OK; c) linie incorecta
|
7
|
|
3
|
1 ms
|
131 kb
|
OK
|
10
|
|
4
|
1 ms
|
131 kb
|
a) OK; b) OK; c) linie incorecta
|
7
|
|
5
|
1 ms
|
131 kb
|
OK
|
10
|
|
6
|
11 ms
|
258 kb
|
OK
|
10
|
|
7
|
30 ms
|
520 kb
|
OK
|
10
|
|
8
|
74 ms
|
1175 kb
|
OK
|
10
|
|
9
|
112 ms
|
1572 kb
|
Memory limit exceeded
|
0
|
|
10
|
114 ms
|
1572 kb
|
Memory limit exceeded
|
0
|
|
Penalizare: 6% (pentru 2 submisie/ii)
|
6%
|
|
Punctaj total
|
69
|