Borderou de evaluare (job #1318785)

Utilizator eryk99Petrescu Eryk eryk99 Data 16 ianuarie 2015 12:42:10
Problema Procesor Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:22:41: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%lld%lld",&a[i].t,&a[i].p); ^ user.cpp:22:41: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:17:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("procesor.in","r",stdin); ^ user.cpp:18:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("procesor.out","w",stdout); ^ user.cpp:19:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&n); ^ user.cpp:22:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld",&a[i].t,&a[i].p); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms256kbOK10
20ms264kbOK10
30ms264kbOK10
40ms264kbOK10
50ms272kbOK10
620ms392kbOK10
7108ms572kbOK10
8Depăşit956kbTime limit exceeded.0
9Depăşit1092kbTime limit exceeded.0
10Depăşit1472kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?