Borderou de evaluare (job #1484234)

Utilizator paunmatei7FMI Paun Matei paunmatei7 Data 10 septembrie 2015 16:57:59
Problema Virus Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:23:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("virus.in", "r", stdin); ^ user.cpp:24:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("virus.out", "w", stdout); ^ user.cpp:25:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &NB, &T); ^ user.cpp:26:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(B); ^ user.cpp:29:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &NA); ^ user.cpp:30:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", A); ^ /tmp/ccv5qZEp.o: In function `main': user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit428kbTime limit exceeded.0
240ms284kbOK10
3Depăşit372kbTime limit exceeded.0
4Depăşit352kbTime limit exceeded.0
5Depăşit372kbTime limit exceeded.0
6Depăşit384kbTime limit exceeded.0
7Depăşit372kbTime limit exceeded.0
8Depăşit472kbTime limit exceeded.0
9Depăşit376kbTime limit exceeded.0
10188ms288kbOK10
Punctaj total20

Ceva nu functioneaza?