質問編集履歴

2

バージョンの追記

2023/05/18 19:58

投稿

_Victorique__
_Victorique__

スコア1392

test CHANGED
File without changes
test CHANGED
@@ -57,3 +57,6 @@
57
57
  バージョンによる差異なのでしょうか。。。?
58
58
 
59
59
  ![イメージ説明](https://ddjkaamml8q8x.cloudfront.net/questions/2023-05-19/acedad38-79b4-410f-8503-74865fe99a35.png)
60
+
61
+ Paiza -> `rustc 1.59.0`
62
+ Local -> `rustc 1.62.0`

1

Paizaでの実行結果を追記

2023/05/18 19:55

投稿

_Victorique__
_Victorique__

スコア1392

test CHANGED
File without changes
test CHANGED
@@ -51,3 +51,9 @@
51
51
  thread 'main' panicked at 'attempt to multiply with overflow', src/main.rs:127:18
52
52
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
53
53
  ```
54
+
55
+ ## 追記
56
+ なぜかpaizaの実行環境ではエラーにならず63まで正常に表示されました。。。
57
+ バージョンによる差異なのでしょうか。。。?
58
+
59
+ ![イメージ説明](https://ddjkaamml8q8x.cloudfront.net/questions/2023-05-19/acedad38-79b4-410f-8503-74865fe99a35.png)