Pagini recente » Borderou de evaluare (job #649105) | Borderou de evaluare (job #2575442) | Borderou de evaluare (job #2267116) | Borderou de evaluare (job #2827350) | Borderou de evaluare (job #1565439)
Borderou de evaluare (job #1565439)
Raport evaluator
Compilare:
user.cpp: In function ‘void readData()’:
user.cpp:31:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &n);
^
user.cpp:34:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s[i] + 1);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘void readData()’ at user.cpp:34:23:
/usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default]
return __gets_warn (__str);
^
/tmp/ccCkw8Ta.o: In function `readData()':
user.cpp:(.text+0x34): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 464kb | OK! | 10 |
2 | 0ms | 476kb | OK! | 10 |
3 | 0ms | 488kb | OK! | 10 |
4 | 0ms | 500kb | OK! | 10 |
5 | 0ms | 784kb | OK! | 10 |
6 | 0ms | 752kb | OK! | 10 |
7 | 28ms | 2204kb | OK! | 10 |
8 | 136ms | 10288kb | OK! | 10 |
9 | 36ms | 2372kb | OK! | 10 |
10 | 244ms | 19876kb | OK! | 10 |
Punctaj total | 100 |