結果

問題 No.9000 Hello World! (テスト用)
ユーザー FF256grhy
提出日時 2016-10-24 06:03:26
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 333 bytes
コンパイル時間 199 ms
コンパイル使用メモリ 22,784 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-11-24 02:39:45
合計ジャッジ時間 669 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>

const int l = 50000;
const int m = 5000;

int main() {
	for(int i = 0; i < l; i++) { printf(i % 2 == 0 ? "A" : "B"); }
	printf("\n%d\n", m);
	char s[] = "ABABABABAB";
	int c = 0;
	while(c < m) {
		printf("%s\n", s);
		
		int d = 9;
		while(s[d] == 'Z') { s[d] = 'A'; d--; }
		s[d]++;	
		
		c++;
	}
	
	return 0;
}
0