Borderou de evaluare (job #2224404)

Utilizator Andrei1998Andrei Constantinescu Andrei1998 Data 23 iulie 2018 21:46:35
Problema Frumusete Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:36:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(nr); ^~~~ In file included from /usr/include/c++/6/cstdio:42:0, from /usr/include/x86_64-linux-gnu/c++/6/32/bits/stdc++.h:46, from user.cpp:1: /usr/include/stdio.h:638:14: note: declared here extern char *gets (char *__s) __wur __attribute_deprecated__; ^~~~ user.cpp:36:16: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(nr); ^ In file included from /usr/include/c++/6/cstdio:42:0, from /usr/include/x86_64-linux-gnu/c++/6/32/bits/stdc++.h:46, from user.cpp:1: /usr/include/stdio.h:638:14: note: declared here extern char *gets (char *__s) __wur __attribute_deprecated__; ^~~~ user.cpp:36:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(nr); ^ user.cpp:42:38: warning: ‘K’ may be used uninitialized in this function [-Wmaybe-uninitialized] ans += dp[N - i][K][0]; ~~~~~~~~~~~~~~^ /tmp/ccoZqMKY.o: In function `main': user.cpp:(.text.startup+0x24b): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
1356ms15172kbIncorect0
Punctaj total0

Ceva nu functioneaza?