Borderou de evaluare (job #1306088)

Utilizator bogdan10bosBogdan Sitaru bogdan10bos Data 30 decembrie 2014 15:20:44
Problema Prefix2 Status done
Runda Happy Birthday Infoarena 2014 Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:23:38: 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:24:40: 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:25:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); ^ /tmp/ccbiLdSP.o: In function `main': user.cpp:(.text.startup+0x5e): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms2740kbOK10
2Depăşit14476kbTime limit exceeded.0
3Depăşit14428kbTime limit exceeded.0
4Depăşit14424kbTime limit exceeded.0
5Depăşit14556kbTime limit exceeded.0
6Depăşit14732kbTime limit exceeded.0
7Depăşit14900kbTime limit exceeded.0
8Depăşit14684kbTime limit exceeded.0
9Depăşit15072kbTime limit exceeded.0
10Depăşit15212kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?