Borderou de evaluare (job #1554230)

Utilizator andru47Stefanescu Andru andru47 Data 21 decembrie 2015 10:07:00
Problema Cabane Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:15:34: 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:16:36: 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:17:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &n, &k); ^ user.cpp:18:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); ^ user.cpp:20:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &nn); ^ user.cpp:21:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); ^ user.cpp:49:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &nn); ^ user.cpp:50:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); ^ /tmp/ccNiFVAF.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ăşit408kbTime limit exceeded.0
2Depăşit400kbTime limit exceeded.0
3Depăşit404kbTime limit exceeded.0
4Depăşit404kbTime limit exceeded.0
5Depăşit404kbTime limit exceeded.0
6Depăşit408kbTime limit exceeded.0
7Depăşit408kbTime limit exceeded.0
8Depăşit400kbTime limit exceeded.0
9Depăşit408kbTime limit exceeded.0
10Depăşit400kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?