Borderou de evaluare (job #1529094)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 20 noiembrie 2015 15:26:31
Problema Prefix2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:110:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("prefix2.in","r",stdin); ^ user.cpp:111:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("prefix2.out","w",stdout); ^ user.cpp:113:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(sir + 1); n = strlen(sir + 1); ^ /tmp/ccIsYt0S.o: In function `main': user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1644kbOK10
24ms1740kbOK10
332ms2972kbOK10
432ms2980kbOK10
532ms2976kbOK10
6112ms5680kbOK10
7212ms8756kbOK10
8Depăşit11536kbTime limit exceeded.0
9Depăşit9960kbTime limit exceeded.0
10Depăşit9960kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?