stdout:
/temp/compiling/source.bas(1) error 3: Expected End-of-Line, found 'Pascal'
Pascal;
^
/temp/compiling/source.bas(2) error 10: Expected '=', found ';'
Var;
^
/temp/compiling/source.bas(3) error 3: Expected End-of-Line, found '�'
a,b:integer;
^
/temp/compiling/source.bas(4) error 10: Expected '=', found ';'
Begin;
^
/temp/compiling/source.bas(5) error 3: Expected End-of-Line, found '�'
read(a,b);
^
/temp/compiling/source.bas(6) error 3: Expected End-of-Line, found '�'
write(a+b);
^
/temp/compiling/source.bas(7) error 10: Expected '='
End.
^
/temp/compiling/source.bas(9) error 3: Expected End-of-Line, found '�'
Язык C++
^
/temp/compiling/source.bas(11) error 145: Only valid in -lang fb or deprecated or fblite, found 'using'
using namespace std;
^
/temp/compiling/source.bas(12) error 6: Expected '(', found 'main'
int main() {
^
/temp/compiling/source.bas(12) error 132: Too many errors, exiting
stderr:
1) 2
2) 4
3)
4) 2 байта
5) 532 Мб
6) 85 бит
7) 7376,8 Кб
Объяснение:
1) 1 Мб = 1024 Кб
2) 1 Кб = 1024 Б. Таких 10. 10 * 1024 = 10240 Б
3) Что такое "бе"?
4) 1 байт = 8 бит. 2 байта = 16 бит
5) 1 Гб = 1024 мб. 5.5 * 1024 = 5632 Мб
6) 10 байт = 80 бит. 80 бит + 5 бит = 85 бит
7) 7,2 Мб = 7372,8 Кб. 7372,8 Кб + 4 = 7376,8 Кб