Borderou de evaluare (job #2038403)

Utilizator danstefanDamian Dan Stefan danstefan Data 13 octombrie 2017 17:38:43
Problema Abc2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:62:24: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘unsigned int’ [-Wformat=] printf("%lld\n",ans); ^ user.cpp:18:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("abc2.in","r",stdin); ^ user.cpp:19:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("abc2.out","w",stdout); ^ user.cpp:20:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(st+1); ^ user.cpp:22:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(stt+1); ^ user.cpp:36:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(stt+1); ^ /tmp/ccGj3efh.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
18ms8228kbOK100
28ms8224kbOK10
312ms8248kbOK10
412ms8332kbOK10
548ms8644kbOK10
6172ms9656kbOK10
7864ms13852kbIncorect0
8Depăşit18688kbTime limit exceeded.0
9Depăşit18692kbTime limit exceeded.0
10Depăşit18684kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?