Borderou de evaluare (job #1215112)

Utilizator lianaliana tucar liana Data 31 iulie 2014 20:12:08
Problema Partial Match Status done
Runda Infoarena Monthly 2014 - Runda 7 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&k); ^ user.cpp:25:23: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld\n",rez); ^ user.cpp:27:31: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld\n",vrez[i]); ^ user.cpp:10:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("partialmatch.in","r",stdin); ^ user.cpp:11:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("partialmatch.out","w",stdout); ^ user.cpp:12:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a); gets(b); ^ user.cpp:12:24: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a); gets(b); ^ user.cpp:14:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&k); ^ /tmp/ccBjv9TT.o: In function `main': user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
112ms264kbOK100
212ms268kbOK10
30ms312kbOK10
40ms312kbOK10
51416ms340kbOK10
61460ms332kbOK10
71484ms388kbOK10
81604ms336kbOK10
9Depăşit424kbTime limit exceeded.0
10Depăşit376kbTime limit exceeded.0
Penalizare 36 (pentru 72.1 minute)-36
Punctaj total0

Ceva nu functioneaza?