結果

問題 No.2649 [Cherry 6th Tune C] Anthem Flower
ユーザー abap34abap34
提出日時 2024-02-23 21:43:43
言語 Julia
(1.10.2)
結果
MLE  
(最新)
AC  
(最初)
実行時間 -
コード長 212 bytes
コンパイル時間 270 ms
コンパイル使用メモリ 7,324 KB
実行使用メモリ 534,344 KB
最終ジャッジ日時 2024-04-10 01:32:26
合計ジャッジ時間 31,546 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 503 ms
252,468 KB
testcase_01 AC 1,711 ms
345,652 KB
testcase_02 AC 1,714 ms
348,956 KB
testcase_03 AC 1,672 ms
342,440 KB
testcase_04 AC 1,674 ms
344,072 KB
testcase_05 AC 1,695 ms
343,836 KB
testcase_06 AC 1,697 ms
340,408 KB
testcase_07 AC 431 ms
274,928 KB
testcase_08 AC 428 ms
274,132 KB
testcase_09 AC 385 ms
257,368 KB
testcase_10 AC 383 ms
255,392 KB
testcase_11 AC 377 ms
251,044 KB
testcase_12 AC 379 ms
251,684 KB
testcase_13 AC 404 ms
254,028 KB
testcase_14 AC 395 ms
254,652 KB
testcase_15 AC 398 ms
253,956 KB
testcase_16 AC 411 ms
254,484 KB
testcase_17 AC 406 ms
253,632 KB
testcase_18 AC 398 ms
254,716 KB
testcase_19 AC 394 ms
254,916 KB
testcase_20 AC 406 ms
254,968 KB
testcase_21 AC 395 ms
254,948 KB
testcase_22 AC 401 ms
253,620 KB
testcase_23 AC 412 ms
254,000 KB
testcase_24 AC 410 ms
258,516 KB
testcase_25 AC 406 ms
254,048 KB
testcase_26 AC 403 ms
254,048 KB
testcase_27 AC 404 ms
254,520 KB
testcase_28 AC 409 ms
258,352 KB
testcase_29 AC 406 ms
254,232 KB
testcase_30 AC 405 ms
253,632 KB
testcase_31 AC 404 ms
254,224 KB
testcase_32 AC 409 ms
253,564 KB
testcase_33 AC 403 ms
254,452 KB
testcase_34 MLE -
権限があれば一括ダウンロードができます

ソースコード

diff #

function solve(N, M)
    return sum(1:N) % M
end


function main()
    T = parse(Int, readline())
    for _ in 1:T
        N, M = parse.(BigInt, split(readline()))
        println(solve(N, M))
    end
end

main()
0