Borderou de evaluare (job #2184669)

Utilizator CNDG_Oncescu_SitaruSphere. CNDG_Oncescu_Sitaru Data 24 martie 2018 10:33:11
Problema C. La capatul lumii Status done
Runda Agm 2018 Runda 1 Compilator cpp
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:43:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets (sir + 1); ^~~~ 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:43:22: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets (sir + 1); ^ 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:21:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lacapatullumii.in", "r", stdin); ^ user.cpp:22:47: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lacapatullumii.out", "w", stdout); ^ user.cpp:36:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d\n", &tests); ^ user.cpp:39:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &N); ^ user.cpp:42:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d\n", &K); ^ user.cpp:43:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets (sir + 1); ^ user.cpp:47:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &M); ^ /tmp/ccftN8JU.o: In function `main': user.cpp:(.text.startup+0x131): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1Depăşit13748kbTime limit exceeded.00
216ms13752kbKilled by signal 11(SIGSEGV).0
312ms13748kbKilled by signal 11(SIGSEGV).0
4Depăşit13752kbTime limit exceeded.0
584ms13864kbRaspuns penaluș0
692ms13860kbRaspuns penaluș0
7116ms13852kbRaspuns penaluș0
880ms13852kbRaspuns penaluș0
9116ms13864kbRaspuns penaluș0
1092ms13864kbRaspuns penaluș0
Punctaj total0

Ceva nu functioneaza?