Borderou de evaluare (job #1306093)

Utilizator bogdan10bosBogdan Sitaru bogdan10bos Data 30 decembrie 2014 15:26:08
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/ccgqPgTL.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ăşit14344kbTime limit exceeded.0
3Depăşit14292kbTime limit exceeded.0
4Depăşit14556kbTime limit exceeded.0
5Depăşit14292kbTime limit exceeded.0
6Depăşit14600kbTime limit exceeded.0
7Depăşit14768kbTime limit exceeded.0
8Depăşit15080kbTime limit exceeded.0
9Depăşit15212kbTime limit exceeded.0
10Depăşit15208kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?