Borderou de evaluare (job #1675435)

Utilizator lflorin29Florin Laiu lflorin29 Data 5 aprilie 2016 12:22:32
Problema Prefix Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:29:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("prefix.in", "r", stdin); ^ user.cpp:30:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("prefix.out", "w", stdout); ^ user.cpp:31:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] int t; scanf("%d\n", &t); ^ user.cpp:34:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); ^ /tmp/ccphREWo.o: In function `main': user.cpp:(.text.startup+0x70): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms4364kbOK10
212ms4368kbOK10
316ms4380kbOK10
468ms4824kbOK10
528ms4460kbOK10
644ms4608kbOK10
7140ms5012kbOK10
8Depăşit5320kbTime limit exceeded.0
928ms4428kbOK10
1012ms4368kbOK10
Punctaj total90

Ceva nu functioneaza?