Pagini recente » Borderou de evaluare (job #2768506) | Borderou de evaluare (job #2236628) | Borderou de evaluare (job #1525268) | Borderou de evaluare (job #2071373) | Borderou de evaluare (job #1586589)
Borderou de evaluare (job #1586589)
Raport evaluator
Compilare:
user.cpp: In function ‘void findpath(int, int)’:
user.cpp:46:29: warning: unused variable ‘l’ [-Wunused-variable]
int y=path[x][mask],l=dif[x][y];
^
user.cpp: In function ‘int main()’:
user.cpp:67:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int l=2;l<=s[j].size()-1;l++) {
^
user.cpp:74:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int l=1;l<=s[i].size()-1;l++) {
^
user.cpp:77:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (k==s[j].size()-1) { ok=true; break; }
^
user.cpp:89:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int l=2;l<=s[j].size()-1;l++) {
^
user.cpp:96:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int l=1;l<=s[i].size()-1;l++) {
^
user.cpp:99:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (k==s[j].size()-1) k=urm[k];
^
user.cpp:117:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<g[startp].size();i++) {
^
user.cpp:132:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=0;j<s[sol[i]].size()-l;j++) printf("%c",s[sol[i]][j]);
^
user.cpp:54:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("adn.in","r",stdin);
^
user.cpp:55:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("adn.out","w",stdout);
^
user.cpp:57:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&n);
^
user.cpp:59:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(ss); s[i]=ss; s[i].insert(0," ");
^
/tmp/ccQ3VUKT.o: In function `main':
user.cpp:(.text.startup+0x81): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 528kb | Wrong asnwer | 0 |
2 | 108ms | 47460kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 112ms | 47464kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 112ms | 47468kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 700kb | Wrong asnwer | 0 |
6 | 120ms | 47868kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 120ms | 1508kb | Wrong asnwer | 0 |
8 | 268ms | 5952kb | Wrong asnwer | 0 |
9 | 252ms | 50420kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 620ms | 52060kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |