Borderou de evaluare (job #1529064)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 20 noiembrie 2015 14:55:13
Problema Prefix2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

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/ccru7nES.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
24ms1736kbIncorect0
328ms2976kbOK10
432ms2976kbIncorect0
532ms2972kbIncorect0
6112ms5672kbIncorect0
7208ms8752kbIncorect0
8Depăşit9956kbTime limit exceeded.0
9Depăşit9960kbTime limit exceeded.0
10Depăşit9960kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?