質問するログイン新規登録

質問編集履歴

1

cppを追加しました。g++、icpcによるコンパイルができました(コンパイラオプション無し)。

2019/04/11 08:28

投稿

epochster
epochster

スコア13

title CHANGED
File without changes
body CHANGED
@@ -21,6 +21,21 @@
21
21
  試したコンパイラはgnuとintelです。
22
22
  g++、icpcともにコンパイルできました。
23
23
 
24
+
25
+ ### ソースコード
26
+
27
+ ```cpp
28
+ #include <iostream>
29
+
30
+ int main() {
31
+ uint foo = 4294967295;
32
+ ulong bar = 18446744073709551615u;
33
+
34
+ std::cout << foo << std::endl;
35
+ std::cout << bar << std::endl;
36
+ }
37
+ ```
38
+
24
39
  ### 補足情報
25
40
 
26
41
  環境はubuntu(WSL)です。