Borderou de evaluare (job #1951042)

Utilizator vazanIonescu Victor Razvan vazan Data 3 aprilie 2017 13:30:57
Problema Zimeria Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:15:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("zimeria.in", "r", stdin); ^ user.cpp:16:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("zimeria.out", "w", stdout); ^ user.cpp:18:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n", &cr, &n); ^ user.cpp:19:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(dict); ^ user.cpp:25:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(cuv[i]); ^ In file included from /usr/include/stdio.h:934:0, from /usr/include/c++/4.8/cstdio:42, from user.cpp:1: In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:25:21: /usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default] return __gets_warn (__str); ^ /tmp/cchQJ6US.o: In function `main': user.cpp:(.text.startup+0xe1): warning: the `gets' function is dangerous and should not be used. user.cpp:(.text.startup+0x77): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms292kbOK5
20ms304kbOK5
376ms884kbOK5
4172ms1472kbOK5
5Depăşit2460kbTime limit exceeded.0
680msDepăşitMemory limit exceeded.0
70ms260kbOK5
80ms276kbOK5
90ms284kbOK5
104ms320kbOK5
1112ms380kbOK5
1228ms504kbOK5
1360ms732kbOK5
14136ms1200kbOK5
15180ms1440kbOK5
16284ms1980kbOK5
17Depăşit2464kbTime limit exceeded.0
18Depăşit3168kbTime limit exceeded.0
19Depăşit4004kbTime limit exceeded.0
2080msDepăşitMemory limit exceeded.0
Punctaj total70

Ceva nu functioneaza?