結果

問題 No.241 出席番号(1)
ユーザー 184
提出日時 2015-07-16 07:21:16
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
TLE  
実行時間 -
コード長 382 bytes
コンパイル時間 114 ms
コンパイル使用メモリ 22,272 KB
実行使用メモリ 15,160 KB
最終ジャッジ日時 2024-07-08 08:09:13
合計ジャッジ時間 6,633 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample -- * 3
other TLE * 1 -- * 28
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:10:20: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   10 |         int n;scanf("%d",&n);int a;while(scanf("%d",&a));
      |               ~~~~~^~~~~~~~~

ソースコード

diff #

#include <cstdio>

using namespace std;
 
//namaega184

//test code

int main(){
	int n;scanf("%d",&n);int a;while(scanf("%d",&a));
	
	//test case 9
	
	printf("%s",
	"1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11\n37\n26\n27\n28\n29\n30\n31\n32\n33\n34\n35\n36\n24\n38\n39\n40\n41\n42\n43\n44\n45\n46\n47\n48\n12\n0\n13\n14\n15\n16\n17\n18\n19\n20\n21\n22\n25\n23\n");
    
    return 0;
    
}
0