Pagini recente »
Borderou de evaluare (job #605676)
|
Borderou de evaluare (job #360603)
|
Borderou de evaluare (job #492932)
|
Borderou de evaluare (job #302478)
|
Borderou de evaluare (job #765470)
Borderou de evaluare (job #765470)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | fscanf( fin, "%d", &N );
| ^~~~~~~~~~~~~~~~~~~~~~~
main.c:12:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | fscanf( fin, "%d ", &v[i] );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:35:31: warning: 'n' may be used uninitialized [-Wmaybe-uninitialized]
35 | if( v[n-1]%10+1!=v[n]%10 ){
| ~^~~
main.c:7:22: note: 'n' was declared here
7 | int N, i, j, ok, n, cif1, cif2, aux;
| ^
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
512 kb
|
OK
|
10
|
2
|
49 ms
|
503 kb
|
a) linie incorecta; b) OK
|
4
|
3
|
1 ms
|
507 kb
|
OK
|
10
|
4
|
1 ms
|
245 kb
|
a) linie incorecta; b) OK
|
4
|
5
|
1 ms
|
503 kb
|
a) linie incorecta; b) OK
|
4
|
6
|
8 ms
|
245 kb
|
OK
|
10
|
7
|
1 ms
|
249 kb
|
OK
|
10
|
8
|
1 ms
|
249 kb
|
OK
|
10
|
9
|
49 ms
|
770 kb
|
OK
|
10
|
10
|
4 ms
|
245 kb
|
OK
|
10
|
Punctaj total
|
82
|