Pagini recente » Borderou de evaluare (job #1865213) | Borderou de evaluare (job #1957128) | Borderou de evaluare (job #1373914) | Borderou de evaluare (job #1641690) | Borderou de evaluare (job #1393445)
Borderou de evaluare (job #1393445)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfsDown(long int, long int)’:
user.cpp:30:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<list[node].size();i++){
^
user.cpp:38:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<list[node].size();i++){
^
user.cpp: In function ‘void dfsUp(long int, long int)’:
user.cpp:50:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(long i=0;i<list[node].size();i++){
^
user.cpp: In function ‘void dfsBetterDown(long int)’:
user.cpp:59:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<list[node].size();i++){
^
user.cpp: In function ‘void dfsBetterUp(long int, long int)’:
user.cpp:69:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(long i=0;i<list[node].size();i++){
^
user.cpp: In function ‘int main()’:
user.cpp:96:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<list[1].size();i++){
^
user.cpp:83:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("treesearch.in","r",stdin);
^
user.cpp:84:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("treesearch.out","w",stdout);
^
user.cpp:86:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld",&n,&q);
^
user.cpp:87:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++) scanf("%ld",&c[i]);
^
user.cpp:90:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld",&x,&y);
^
user.cpp:116:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1664kb | Incorect | 0 |
| 2 | 0ms | 1680kb | Incorect | 0 |
| 3 | 4ms | 1748kb | Incorect | 0 |
| 4 | 12ms | 1920kb | Incorect | 0 |
| 5 | 20ms | 2108kb | Incorect | 0 |
| 6 | 52ms | 2748kb | Incorect | 0 |
| 7 | 120ms | 3820kb | Incorect | 0 |
| 8 | 172ms | 4688kb | Incorect | 0 |
| 9 | 236ms | 5544kb | Incorect | 0 |
| 10 | 272ms | 5952kb | Incorect | 0 |
| Punctaj total | 0 |