結果
| 問題 | No.3497 Sign up for traP |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-04-17 21:33:38 |
| 言語 | C++23 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 82 bytes |
| 記録 | |
| コンパイル時間 | 683 ms |
| コンパイル使用メモリ | 91,520 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-04-17 21:33:40 |
| 合計ジャッジ時間 | 1,762 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | WA * 18 |
コンパイルメッセージ
main.cpp:1:2: warning: '#import' is a deprecated GCC extension [-Wdeprecated]
1 | #import<ios>
| ^~~~~~
main.cpp:2:7: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
2 | int l;main(){char s[101];scanf("%s",s);for(;s[l++];);printf("%d",l);}
| ^~~~
ソースコード
#import<ios>
int l;main(){char s[101];scanf("%s",s);for(;s[l++];);printf("%d",l);}