Pagini recente » Borderou de evaluare (job #2671033) | Borderou de evaluare (job #3290520) | Borderou de evaluare (job #2535158) | Borderou de evaluare (job #3270138) | Borderou de evaluare (job #1973134)
Borderou de evaluare (job #1973134)
Raport evaluator
Compilare:
user.cpp: In function ‘int fill(int, int)’:
user.cpp:17:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int veci(int, int)’:
user.cpp:40:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int dropv(int, int)’:
user.cpp:62:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int drop(int)’:
user.cpp:77:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int si(int, int)’:
user.cpp:109:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:126:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zone2.in","r",stdin);
^
user.cpp:127:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zone2.out","w",stdout);
^
user.cpp:129:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d\n",&n,&m,&k);
^
user.cpp:131:25: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(c[i]+1),scanf("\n");
^
user.cpp:131:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
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 ‘int main()’ at user.cpp:131:25:
/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/ccGQrC7s.o: In function `main':
user.cpp:(.text.startup+0x8d): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 840kb | Time limit exceeded. | 0 |
2 | 0ms | 320kb | Incorect | 0 |
3 | 8ms | 384kb | Incorect | 0 |
4 | Depăşit | 412kb | Time limit exceeded. | 0 |
5 | Depăşit | 452kb | Time limit exceeded. | 0 |
6 | Depăşit | 448kb | Time limit exceeded. | 0 |
7 | Depăşit | 452kb | Time limit exceeded. | 0 |
8 | Depăşit | 636kb | Time limit exceeded. | 0 |
9 | Depăşit | 828kb | Time limit exceeded. | 0 |
10 | Depăşit | 836kb | Time limit exceeded. | 0 |
Punctaj total | 0 |