Borderou de evaluare (job #2184559)

Utilizator CNDG_Oncescu_SitaruSphere. CNDG_Oncescu_Sitaru Data 24 martie 2018 09:50:40
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:22: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:22: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:11: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:12: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:15:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d\n", &tests); ^ user.cpp:18:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &N); ^ user.cpp:21:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d\n", &K); ^ user.cpp:22:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets (sir + 1); ^ user.cpp:23:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &M); ^ /tmp/cc08kxPD.o: In function `main': user.cpp:(.text.startup+0xd9): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1Depăşit1324kbTime limit exceeded.00
24ms1328kbKilled by signal 11(SIGSEGV).0
30ms1324kbFisier de iesire corupt!0
4Depăşit1328kbTime limit exceeded.0
568ms1400kbRaspuns penaluș0
676ms1396kbRaspuns penaluș0
7104ms1396kbRaspuns penaluș0
868ms1396kbRaspuns penaluș0
9100ms1400kbRaspuns penaluș0
1076ms1396kbRaspuns penaluș0
Punctaj total0

Ceva nu functioneaza?