結果
問題 |
No.508 超ゆとり教育
|
ユーザー |
![]() |
提出日時 | 2017-04-28 23:20:47 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 436 bytes |
コンパイル時間 | 1,253 ms |
コンパイル使用メモリ | 158,628 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-13 18:33:57 |
合計ジャッジ時間 | 1,805 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 7 |
ソースコード
#include<bits/stdc++.h> using namespace std; void wt_L(int x){ char f[10]; int m=0, s=0; if(x<0){ m=1; x=-x; } while(x){ f[s++]=x%10; x/=10; } if(!s){ f[s++]=0; } if(m){ putchar_unlocked('-'); } while(s--){ putchar_unlocked(f[s]+'0'); } } int main(){ wt_L(1); putchar_unlocked('\n'); return 0; } // cLay varsion 20170428-1 [beta] // --- original code --- // { // wt(1); // }