CODE:
https://paste.ofcode.org/395EWmvHLqWTvZR6B7g2nT3
請勿輸出題目未要求的文字: NO
您的答案為: NO 正確答案為: YES
記憶體區段錯誤! Segmentation fault (core dumped)
記憶體區段錯誤! Segmentation fault (core dumped)
記憶體區段錯誤! Segmentation fault (core dumped)
請問到底哪裡錯了?
CODE:
https://paste.ofcode.org/395EWmvHLqWTvZR6B7g2nT3
請勿輸出題目未要求的文字: NO
您的答案為: NO 正確答案為: YES
記憶體區段錯誤! Segmentation fault (core dumped)
記憶體區段錯誤! Segmentation fault (core dumped)
記憶體區段錯誤! Segmentation fault (core dumped)
請問到底哪裡錯了?
我測試的有過
對於 WA/OLE 的部分你可以嘗試以下測資:
abc
owo
owo
你的程式在第二次輸入 "owo" 時會同時輸出 "YES" 和 "NO" ,
導致輸出錯誤和過多的輸出唷~
以上希望有幫助到你~ OwO
CODE:
https://paste.ofcode.org/395EWmvHLqWTvZR6B7g2nT3
請勿輸出題目未要求的文字: NO
您的答案為: NO 正確答案為: YES
記憶體區段錯誤! Segmentation fault (core dumped)
記憶體區段錯誤! Segmentation fault (core dumped)
記憶體區段錯誤! Segmentation fault (core dumped)
請問到底哪裡錯了?
我測試的有過
範例的測資才一點點,
還有你的 str 開 500 夠大嗎。
CODE:
https://paste.ofcode.org/395EWmvHLqWTvZR6B7g2nT3
請勿輸出題目未要求的文字: NO
您的答案為: NO 正確答案為: YES
記憶體區段錯誤! Segmentation fault (core dumped)
記憶體區段錯誤! Segmentation fault (core dumped)
記憶體區段錯誤! Segmentation fault (core dumped)
請問到底哪裡錯了?
我測試的有過
範例的測資才一點點,
還有你的 str 開 500 夠大嗎。
謝謝你們
AC了
https://paste.ofcode.org/n8YgShXEjGcgqcwFkcJPy2
CODE:
https://paste.ofcode.org/395EWmvHLqWTvZR6B7g2nT3
#0: 20% OLE ()
請勿輸出題目未要求的文字: NO#1: 20% WA (line:5)
您的答案為: NO 正確答案為: YES#2: 20% RE (SIGSEGV)
記憶體區段錯誤! Segmentation fault (core dumped)#3: 20% RE (SIGSEGV)
記憶體區段錯誤! Segmentation fault (core dumped)#4: 20% RE (SIGSEGV)
記憶體區段錯誤! Segmentation fault (core dumped)
請問到底哪裡錯了?
我測試的有過
範例的測資才一點點,
還有你的 str 開 500 夠大嗎。
謝謝你們AC了
https://paste.ofcode.org/n8YgShXEjGcgqcwFkcJPy2
e2jo4