Borderou de evaluare (job #1301830)

Utilizator PetreCatalinFMI Petre Catalin PetreCatalin Data 26 decembrie 2014 13:56:03
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/ccVMb8Ek.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
10ms456kbOK10
28ms660kbOK10
388ms1252kbOK10
4Depăşit2204kbTime limit exceeded.0
5Depăşit3180kbTime limit exceeded.0
6Depăşit3572kbTime limit exceeded.0
7Depăşit3764kbTime limit exceeded.0
8Depăşit3968kbTime limit exceeded.0
9Depăşit4160kbTime limit exceeded.0
10Depăşit4160kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?