Pagini recente »
Borderou de evaluare (job #497540)
|
Borderou de evaluare (job #330031)
|
Borderou de evaluare (job #16560)
|
Borderou de evaluare (job #322107)
|
Borderou de evaluare (job #678044)
Borderou de evaluare (job #678044)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:44:1: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
44 | else
| ^~~~
main.c:51:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
51 | fprintf(fout,"%d %d %d", max, nrmax, nrzero);
| ^~~~~~~
main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | fscanf(fin,"%d",&n);
| ^~~~~~~~~~~~~~~~~~~
main.c:12:23: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | for(i=0;i<n;i++) {fscanf(fin,"%d",&d); fscanf(fin,"%d",&cd);
| ^~~~~~~~~~~~~~~~~~~
main.c:12:44: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | for(i=0;i<n;i++) {fscanf(fin,"%d",&d); fscanf(fin,"%d",&cd);
| ^~~~~~~~~~~~~~~~~~~~
main.c:7:20: warning: 'dreapta' may be used uninitialized in this function [-Wmaybe-uninitialized]
7 | int n, stanga, dreapta, max=0, nrmax=0,nrzero=0,i,j, d,cd,sti,dri;
| ^~~~~~~
main.c:7:12: warning: 'stanga' may be used uninitialized in this function [-Wmaybe-uninitialized]
7 | int n, stanga, dreapta, max=0, nrmax=0,nrzero=0,i,j, d,cd,sti,dri;
| ^~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
114 kb
|
Incorect
|
0
|
2
|
11 ms
|
245 kb
|
Killed by Signal 11
|
0
|
3
|
1 ms
|
118 kb
|
Killed by Signal 11
|
0
|
4
|
19 ms
|
245 kb
|
Killed by Signal 11
|
0
|
5
|
255 ms
|
3657 kb
|
Time limit exceeded
|
0
|
6
|
253 ms
|
5099 kb
|
Time limit exceeded
|
0
|
7
|
251 ms
|
3653 kb
|
Time limit exceeded
|
0
|
8
|
258 ms
|
6279 kb
|
Time limit exceeded
|
0
|
9
|
254 ms
|
7327 kb
|
Time limit exceeded
|
0
|
10
|
254 ms
|
4308 kb
|
Time limit exceeded
|
0
|
Punctaj total
|
0
|