Borderou de evaluare (job #1995188)

Utilizator ionanghelinaIonut Anghelina ionanghelina Data 27 iunie 2017 11:07:11
Problema Elmer Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 5

Raport evaluator

Compilare: user.cpp: In function ‘long long int minpos(std::pair<long long int, long long int>)’: user.cpp:18:12: warning: unused variable ‘d’ [-Wunused-variable] double d=(st[1].first*x.second-st[1].second*x.first)*1.0/(x.second-st[1].second); ^ user.cpp: In function ‘int main()’: user.cpp:36:24: warning: format ‘%lld’ expects a matching ‘long long int*’ argument [-Wformat=] scanf("%lld%lld",&n); ^ user.cpp: In function ‘long long int minpos(std::pair<long long int, long long int>)’: user.cpp:19:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:34:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("elmer.in","r",stdin); ^ user.cpp:35:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("elmer.out","w",stdout); ^ user.cpp:36:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld",&n); ^ user.cpp:39:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld",&r[i].first,&r[i].second); ^ user.cpp:41:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&m); ^ user.cpp:46:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld",&w[i].first,&w[i].second); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms512kbOK5
20ms504kbIncorect0
312ms504kbIncorect0
428ms496kbIncorect0
5Depăşit460kbTime limit exceeded.0
6Depăşit464kbTime limit exceeded.0
7Depăşit460kbTime limit exceeded.0
8Depăşit460kbTime limit exceeded.0
90ms572kbIncorect0
100ms548kbIncorect0
11Depăşit460kbTime limit exceeded.0
12Depăşit464kbTime limit exceeded.0
13Depăşit460kbTime limit exceeded.0
14Depăşit468kbTime limit exceeded.0
15Depăşit460kbTime limit exceeded.0
16Depăşit468kbTime limit exceeded.0
17Depăşit468kbTime limit exceeded.0
18Depăşit464kbTime limit exceeded.0
19Depăşit468kbTime limit exceeded.0
20Depăşit464kbTime limit exceeded.0
Punctaj total5

Ceva nu functioneaza?