Borderou de evaluare (job #1910700)

Utilizator andreeainfo_dAndreea Dutulescu andreeainfo_d Data 7 martie 2017 17:56:44
Problema Partial Match Status done
Runda Arhiva Monthly Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:66:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&k); ^ user.cpp:96:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n",nr); ^ user.cpp:98:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n",ras[i]); ^ user.cpp:54: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:55: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:56:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a+1); ^ user.cpp:57:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(b+1); ^ user.cpp:66:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&k); ^ /tmp/cc6aT2Rf.o: In function `main': user.cpp:(.text.startup+0x58): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
172ms652kbOK100
2104ms656kbOK10
3580ms2068kbOK10
4580ms2064kbOK10
51080ms2484kbOK10
61056ms2476kbOK10
71340ms2572kbOK10
81376ms2492kbOK10
9Depăşit4548kbTime limit exceeded.0
10Depăşit4500kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?