ENG  RUSTimus Online Judge
Online Judge
Задачи
Авторы
Соревнования
О системе
Часто задаваемые вопросы
Новости сайта
Форум
Ссылки
Архив задач
Отправить на проверку
Состояние проверки
Руководство
Регистрация
Исправить данные
Рейтинг авторов
Текущее соревнование
Расписание
Прошедшие соревнования
Правила
вернуться в форум

Общий форум

Int64 types in C++: Compilation Error
Послано Intelligent_Design 19 окт 2006 23:45
Hello.
I've got a question about a C++ code compilation issue I recently encountered.
I tried to send a solution in C++ using "__int64" types as I've written it. However,I never managed to make the judge compile it.
What's the problem?How can I use int64 types with your judge system?(in MSVC,I use __int64,but it doesn't work here either...)

REPLY:
No,it's all Ok with the stuff.The only problem is that cin and cout aren't defined for __int64 datatype,so a typecast is needed.

Edited by author 20.10.2006 00:05
Re: Int64 types in C++: Compilation Error
Послано Vladimir Yakovlev (USU) 21 окт 2006 16:40
"cin >> __int64" will not work with <iostream.h>.
Use <iostream> and "using namespace std" instead.