結果
問題 |
No.81 すべて足すだけの簡単なお仕事です。
|
ユーザー |
|
提出日時 | 2014-11-28 01:56:39 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 476 bytes |
コンパイル時間 | 316 ms |
コンパイル使用メモリ | 24,960 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2025-01-03 10:02:48 |
合計ジャッジ時間 | 1,032 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 30 |
ソースコード
#include <stdio.h> #include <dlfcn.h> typedef __float128 (*T_strtoflt128)(const char *, char **); typedef void (*T_quadmath_snprintf)(char *,int,const char *,...); char buf[99]; int main(){ static void *hquadmath=NULL; hquadmath=dlopen("libquadmath.so",RTLD_NOW); /* int N,i=0; scanf("%d",&N); __float128 s=0; for(;i<N;i++){ scanf("%s",buf); s+=strtoflt128(buf,NULL); } quadmath_snprintf(buf,sizeof(buf),"%.10Qf",s); puts(buf); */ return 0; }