Borderou de evaluare (job #1301906)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:29: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:30: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:31: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:33:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a[i].s); ^ /tmp/ccquY4hd.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
10ms460kbOK10
28ms660kbOK10
388ms1252kbOK10
4Depăşit2204kbTime limit exceeded.0
5Depăşit3188kbTime limit exceeded.0
6Depăşit3576kbTime limit exceeded.0
7Depăşit3772kbTime limit exceeded.0
8Depăşit3964kbTime limit exceeded.0
9Depăşit4160kbTime limit exceeded.0
10Depăşit4164kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?