Borderou de evaluare (job #1731184)

Utilizator SilviuIIon Silviu SilviuI Data 18 iulie 2016 14:55:40
Problema Interzis Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:46:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("interzis.in","r",stdin); ^ user.cpp:47:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("interzis.out","w",stdout); ^ user.cpp:49:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n,&l); gets(s); ^ user.cpp:49:34: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n,&l); gets(s); ^ user.cpp:51:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); urm1[1]=urm2[1]=0; ^ /tmp/ccvP2Lzm.o: In function `main': user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
152msDepăşitMemory limit exceeded.00
252msDepăşitMemory limit exceeded.00
352msDepăşitMemory limit exceeded.00
452msDepăşitMemory limit exceeded.00
552msDepăşitMemory limit exceeded.00
652msDepăşitMemory limit exceeded.00
752msDepăşitMemory limit exceeded.00
852msDepăşitMemory limit exceeded.00
948msDepăşitMemory limit exceeded.00
1052msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?