Borderou de evaluare (job #1301905)

Utilizator PetreCatalinFMI Petre Catalin PetreCatalin Data 26 decembrie 2014 14:37:46
Problema Binar Status done
Runda Teme Pregatire ACM Unibuc 2014, Anul I Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:34:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("binar.in","r",stdin); ^ user.cpp:35:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("binar.out","w",stdout); ^ user.cpp:36:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); ^ user.cpp:38:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a[i].s); ^ /tmp/ccrYOncl.o: In function `main': user.cpp:(.text.startup+0x8f): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms452kbOK10
28ms652kbOK10
3Depăşit1244kbTime limit exceeded.0
4Depăşit2200kbTime limit exceeded.0
5Depăşit3180kbTime limit exceeded.0
6Depăşit3576kbTime limit exceeded.0
7Depăşit3764kbTime limit exceeded.0
8Depăşit3956kbTime limit exceeded.0
9Depăşit4152kbTime limit exceeded.0
10Depăşit4160kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?