Borderou de evaluare (job #1318674)

Utilizator andreeainfo_dAndreea Dutulescu andreeainfo_d Data 16 ianuarie 2015 11:13:35
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
10ms268kbIncorect0
20ms264kbOK10
38ms268kbIncorect0
4100ms276kbIncorect0
5460ms260kbKilled by signal 11(SIGSEGV).0
668ms324kbKilled by signal 11(SIGSEGV).0
736ms484kbKilled by signal 11(SIGSEGV).0
8220ms640kbKilled by signal 11(SIGSEGV).0
972ms876kbKilled by signal 11(SIGSEGV).0
1088ms1028kbKilled by signal 11(SIGSEGV).0
Punctaj total10

Ceva nu functioneaza?