結果
問題 |
No.682 Average
|
ユーザー |
![]() |
提出日時 | 2025-03-12 09:15:22 |
言語 | C (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 138 bytes |
コンパイル時間 | 350 ms |
コンパイル使用メモリ | 24,832 KB |
実行使用メモリ | 7,328 KB |
最終ジャッジ日時 | 2025-03-12 09:15:23 |
合計ジャッジ時間 | 844 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 2 WA * 11 |
コンパイルメッセージ
main.c: In function ‘main’: main.c:5:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 5 | scanf("%d %d",&a,&b); | ^~~~~~~~~~~~~~~~~~~~
ソースコード
#include <stdio.h> void main(void){ int a,b; scanf("%d %d",&a,&b); int i = 0; while((a + b + i)%3 == 0){ i++; } printf("%d",i); }