Borderou de evaluare (job #1484230)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:41:13: warning: unused variable ‘ok’ [-Wunused-variable] int ok = 0, Ans = 0; ^ user.cpp:31: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:32: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:33:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &n, &T); ^ user.cpp:34:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(b + 1); ^ user.cpp:37:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &m); ^ user.cpp:38:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a + 1); ^ /tmp/ccbMQRO1.o: In function `main': user.cpp:(.text.startup+0x71): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit824kbTime limit exceeded.0
260ms760kbIncorect0
3Depăşit848kbTime limit exceeded.0
4Depăşit824kbTime limit exceeded.0
5Depăşit848kbTime limit exceeded.0
6Depăşit804kbTime limit exceeded.0
7Depăşit840kbTime limit exceeded.0
8Depăşit844kbTime limit exceeded.0
9Depăşit800kbTime limit exceeded.0
10Depăşit760kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?