Borderou de evaluare (job #1303014)

Utilizator DenisONIcBanu Denis Andrei DenisONIc Data 27 decembrie 2014 15:38:45
Problema Bunicu Status done
Runda Happy Birthday Infoarena 2014 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:17:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bunicu.in","r",stdin); ^ user.cpp:18:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&t); ^ user.cpp:21:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&n); ^ user.cpp:24:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&s); ^ user.cpp:29:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&s); ^ user.cpp:32:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s2); ^ /tmp/ccjbviYV.o: In function `main': user.cpp:(.text.startup+0x140): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1Depăşit456kbTime limit exceeded.00
2Depăşit452kbTime limit exceeded.0
3Depăşit456kbTime limit exceeded.0
4Depăşit452kbTime limit exceeded.0
5Depăşit444kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?