結果
問題 |
No.9000 Hello World! (テスト用)
|
ユーザー |
![]() |
提出日時 | 2015-04-17 22:22:26 |
言語 | C90 (gcc 12.3.0) |
結果 |
WA
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 246 bytes |
コンパイル時間 | 465 ms |
コンパイル使用メモリ | 20,096 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-04 15:46:03 |
合計ジャッジ時間 | 955 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 2 WA * 2 |
コンパイルメッセージ
main.c: In function ‘main’: main.c:8:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 8 | scanf("%d", &n); | ^~~~~~~~~~~~~~~
ソースコード
#include <stdio.h> #include <string.h> int main() { int i, n; char str[10], *token1 ; int result ; scanf("%d", &n); for (i=0; i<n; i++) { token1 = strtok(str, ","); printf("Hello World!\n"); return 0; } }