Borderou de evaluare (job #2040587)

Utilizator ionanghelinaIonut Anghelina ionanghelina Data 16 octombrie 2017 00:10:55
Problema Hallway Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:49:48: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 2 has type ‘long double*’ [-Wformat=] scanf("%lf%lf",&v[i].first,&v[i].second); ^ user.cpp:49:48: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 3 has type ‘long double*’ [-Wformat=] user.cpp:63:31: warning: format ‘%lf’ expects argument of type ‘double’, but argument 2 has type ‘long double’ [-Wformat=] printf("%.9lf\n",sol/(2.0)); ^ user.cpp:41:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hallway.in","r",stdin); ^ user.cpp:42:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hallway.out","w",stdout); ^ user.cpp:43:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); ^ user.cpp:44:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&k); ^ user.cpp:49:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lf%lf",&v[i].first,&v[i].second); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms544kbIncorect0
20ms544kbIncorect0
30ms544kbIncorect0
40ms528kbIncorect0
50ms568kbIncorect0
672ms1620kbIncorect0
732ms1176kbIncorect0
84ms716kbIncorect0
9Depăşit2172kbTime limit exceeded.0
100ms556kbIncorect0
1132ms1148kbIncorect0
1232ms1140kbIncorect0
13Depăşit3220kbTime limit exceeded.0
1432ms1184kbIncorect0
1536ms1208kbIncorect0
16Depăşit3528kbTime limit exceeded.0
17Depăşit3068kbTime limit exceeded.0
18Depăşit4212kbTime limit exceeded.0
19Depăşit3804kbTime limit exceeded.0
20Depăşit3068kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?