Borderou de evaluare (job #2134066)

Utilizator AlexVulpoiuAlexandru Vulpoiu AlexVulpoiu Data 17 februarie 2018 16:51:26
Problema Blis Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 26

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:11:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(a); ^ In file included from /usr/include/c++/5/cstdio:42:0, from user.cpp:1: /usr/include/stdio.h:638:14: note: declared here extern char *gets (char *__s) __wur __attribute_deprecated__; ^ user.cpp:11:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(a); ^ In file included from /usr/include/c++/5/cstdio:42:0, from user.cpp:1: /usr/include/stdio.h:638:14: note: declared here extern char *gets (char *__s) __wur __attribute_deprecated__; ^ user.cpp:11:11: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(a); ^ In file included from /usr/include/c++/5/cstdio:42:0, from user.cpp:1: /usr/include/stdio.h:638:14: note: declared here extern char *gets (char *__s) __wur __attribute_deprecated__; ^ user.cpp:45:37: warning: integer overflow in expression [-Woverflow] c[i][j]=unsigned((1<<31)-1); ^ user.cpp:8:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("blis.in","r",stdin); ^ user.cpp:9:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("blis.out","w",stdout); ^ user.cpp:10:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%u\n",&k); ^ user.cpp:11:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a); ^ /tmp/ccBvUqPG.o: In function `main': user.cpp:(.text.startup+0x51): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms2872kbTe stii !5
20ms2872kbTe stii !5
30ms2868kbTe stii !5
440ms2872kbValoare incorecta cerinta 2 !1
564ms2876kbValoare incorecta cerinta 2 !1
6120ms2872kbValoare incorecta cerinta 2 !1
792ms2876kbValoare incorecta cerinta 2 !1
8200ms2880kbValoare incorecta cerinta 2 !1
936ms2880kbValoare incorecta cerinta 2 !1
1068ms2876kbValoare incorecta cerinta 2 !1
11108ms2876kbValoare incorecta cerinta 2 !1
12172ms2884kbValoare incorecta cerinta 2 !1
13256ms2880kbValoare incorecta cerinta 2 !1
14524ms2876kbValoare incorecta cerinta 2 !1
15Depăşit2884kbTime limit exceeded.0
16Depăşit2888kbTime limit exceeded.0
17Depăşit2908kbTime limit exceeded.0
18Depăşit2928kbTime limit exceeded.0
19Depăşit2964kbTime limit exceeded.0
20Depăşit2972kbTime limit exceeded.0
Punctaj total26

Ceva nu functioneaza?