Borderou de evaluare (job #1318690)

Utilizator andreeainfo_dAndreea Dutulescu andreeainfo_d Data 16 ianuarie 2015 11:34:41
Problema Procesor Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:21: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:21:41: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:16: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:17: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:18:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&n); ^ user.cpp:21: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
10ms264kbOK10
20ms268kbOK10
30ms268kbOK10
40ms272kbOK10
54ms276kbOK10
6304ms352kbOK10
7Depăşit488kbTime limit exceeded.0
8Depăşit640kbTime limit exceeded.0
9Depăşit876kbTime limit exceeded.0
10Depăşit1028kbTime limit exceeded.0
Punctaj total60

Ceva nu functioneaza?