Pagini recente » Borderou de evaluare (job #2043804) | Borderou de evaluare (job #2216443) | Borderou de evaluare (job #1306958) | Borderou de evaluare (job #559319) | Borderou de evaluare (job #2376134)
Borderou de evaluare (job #2376134)
Raport evaluator
Compilare:
main.cpp: In function 'void bf(int, int, int*)':
main.cpp:27:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(nod *j=l[cr];j;j=j->urm)
^~~
main.cpp:36:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
p++;
^
main.cpp: In function 'int main()':
main.cpp:59:23: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
for(i=1;i<=n;i++) if(sst[i]+ssf[i]==sst[sf])
^~
main.cpp:61:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
for(i=1;i<=k;i++) if(use2[sst[sss[i]]]==1)
^~~
main.cpp:47:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("graf.in","r",stdin);
^
main.cpp:48:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("graf.out","w",stdout);
^
main.cpp:49:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&n,&m,&st,&sf);
^
main.cpp:52:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 2ms | 131kb | OK | 10 |
| 3 | 2ms | 131kb | OK | 10 |
| 4 | 2ms | 131kb | OK | 10 |
| 5 | 2ms | 131kb | OK | 10 |
| 6 | 15ms | 1179kb | OK | 10 |
| 7 | 6ms | 524kb | OK | 10 |
| 8 | 13ms | 1048kb | OK | 10 |
| 9 | 15ms | 1179kb | OK | 10 |
| 10 | 15ms | 1179kb | OK | 10 |
| Punctaj total | 100 |