Borderou de evaluare (job #1318675)

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

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
10ms264kbIncorect0
20ms260kbOK10
38ms260kbIncorect0
496ms248kbKilled by signal 11(SIGSEGV).0
552ms244kbKilled by signal 11(SIGSEGV).0
616ms320kbKilled by signal 11(SIGSEGV).0
724ms480kbKilled by signal 11(SIGSEGV).0
860ms632kbKilled by signal 11(SIGSEGV).0
968ms868kbKilled by signal 11(SIGSEGV).0
1084ms1020kbKilled by signal 11(SIGSEGV).0
Punctaj total10

Ceva nu functioneaza?