結果
| 問題 | No.3497 Sign up for traP |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-04-18 00:18:14 |
| 言語 | C(gnu17) (gcc 15.2.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 247 bytes |
| 記録 | |
| コンパイル時間 | 405 ms |
| コンパイル使用メモリ | 37,504 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-04-18 00:18:17 |
| 合計ジャッジ時間 | 1,251 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 17 WA * 1 |
コンパイルメッセージ
main.c:3:1: warning: return type defaults to 'int' [-Wimplicit-int]
3 | main(i,n){char
| ^~~~
main.c: In function 'main':
main.c:3:1: warning: type of 'i' defaults to 'int' [-Wimplicit-int]
main.c:3:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int]
ソースコード
#include<stdio.h>
#include<string.h>
main(i,n){char
s[99],*p="_-";scanf("%s",s);for(n=strlen(s);i<n&&strchr("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-",s[i]);i++);puts(n<33&i==n&!strchr(p,*s)&!strchr(p,s[n-1])?"200":"400");}