Borderou de evaluare (job #2220666)

Utilizator Laza_AndreiLazarescu Andrei Vlad Laza_Andrei Data 12 iulie 2018 12:35:40
Problema Cifra Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int uc(int)’: user.cpp:9:15: warning: statement has no effect [-Wunused-value] if(e==0) e==4; ~^~~ user.cpp: In function ‘int main()’: user.cpp:28:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(s); ^~~~ In file included from /usr/include/c++/6/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:28:15: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations] gets(s); ^ In file included from /usr/include/c++/6/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:20:11: warning: unused variable ‘n’ [-Wunused-variable] int t,n,i,v[105],l; ^ user.cpp:18:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cifra.in","r",stdin); ^ user.cpp:19:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cifra.out","w",stdout); ^ user.cpp:22:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&t); ^ user.cpp:28:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/ccxWrSN3.o: In function `main': user.cpp:(.text.startup+0xfa): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit860kbTime limit exceeded.0
2Depăşit796kbTime limit exceeded.0
3Depăşit792kbTime limit exceeded.0
4Depăşit792kbTime limit exceeded.0
5Depăşit756kbTime limit exceeded.0
6Depăşit752kbTime limit exceeded.0
7Depăşit804kbTime limit exceeded.0
8Depăşit864kbTime limit exceeded.0
9Depăşit752kbTime limit exceeded.0
10Depăşit812kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?