ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Common Board

What the f***ing tricks? SizeOf(Integer) = 4!!!
Posted by A new start... 20 Apr 2004 19:54
I used such code:
----
var a,b : longint;
begin
 read(a,b);
 if sizeof(integer) = 4
  then writeln(a+b)
  else writeln('qqq');
end.
-------
on problem 1000, and it got AC.
Does exist in Delphi some type that I can used instead Integer?
Everything is ok... Sorry, I didn't work with Delphi.
Posted by A new start... 20 Apr 2004 20:08
SmallInt can be used instead Integer.