結果
| 問題 | No.26 シャッフルゲーム | 
| コンテスト | |
| ユーザー |  sasa | 
| 提出日時 | 2025-03-03 13:41:30 | 
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 233 bytes | 
| コンパイル時間 | 232 ms | 
| コンパイル使用メモリ | 28,416 KB | 
| 実行使用メモリ | 6,824 KB | 
| 最終ジャッジ日時 | 2025-03-03 13:41:31 | 
| 合計ジャッジ時間 | 975 ms | 
| ジャッジサーバーID (参考情報) | judge5 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 2 WA * 8 | 
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:10:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   10 |         scanf("%d",&loc);
      |         ~~~~~^~~~~~~~~~~
            
            ソースコード
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
int main(void){
	// カップの個数
	int *judgment[3] = {0,0,0};
	// 初めに〇がついてるカップの位置
	int loc = 0;
	scanf("%d",&loc);
	printf("%d",loc);
	
}
            
            
            
        