Borderou de evaluare (job #2184678)

Utilizator CNDG_Oncescu_SitaruSphere. CNDG_Oncescu_Sitaru Data 24 martie 2018 10:38:49
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:38: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:38: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:22: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:23: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:26:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d\n", &tests); ^ user.cpp:30:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &N); ^ user.cpp:33:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", num); ^ user.cpp:37:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d\n", &K); ^ user.cpp:38:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets (sir + 1); ^ user.cpp:40:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &M); ^ /tmp/ccR5ADiS.o: In function `main': user.cpp:(.text.startup+0x10c): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1Depăşit3360kbTime limit exceeded.00
2Depăşit3368kbTime limit exceeded.0
3132ms3360kbRaspuns penaluș0
4Depăşit3360kbTime limit exceeded.0
58ms3360kbRaspuns penaluș0
68ms3360kbRaspuns penaluș0
712ms3368kbRaspuns penaluș0
88ms3368kbRaspuns penaluș0
912ms3360kbRaspuns penaluș0
108ms3360kbRaspuns penaluș0
Punctaj total0

Ceva nu functioneaza?