Pagini recente » Borderou de evaluare (job #3160532) | Cod sursa (job #1195246) | Borderou de evaluare (job #1313024) | Cod sursa (job #246749) | Borderou de evaluare (job #2620684)
Borderou de evaluare (job #2620684)
Raport evaluator
Compilare:
main.cpp: In function 'int rotate(ain&, int)':
main.cpp:24:11: warning: no return statement in function returning non-void [-Wreturn-type]
x.lazy-=n;}
^
main.cpp: In function 'int calclazy(int)':
main.cpp:28:18: warning: no return statement in function returning non-void [-Wreturn-type]
aint[nod].lazy=0;}
^
main.cpp: In function 'int build(int, int, int)':
main.cpp:40:52: warning: control reaches end of non-void function [-Wreturn-type]
aint[nod].s[i]=aint[2*nod].s[i]+aint[2*nod+1].s[i];}
^
main.cpp: In function 'int update(int, int, int, int, int, int)':
main.cpp:53:52: warning: control reaches end of non-void function [-Wreturn-type]
aint[nod].s[i]=aint[2*nod].s[i]+aint[2*nod+1].s[i];}
^
main.cpp: In function 'int main()':
main.cpp:66:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("aparate.in","r",stdin);
^
main.cpp:67:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("aparate.out","w",stdout);
^
main.cpp:69:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&m,&q);
^
main.cpp:75:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i][j]);
^
main.cpp:79:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&tip,&l,&r,&k);
^
main.cpp:87:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&tip,&l,&r,&k);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 42ms | 524kb | OK | 5 | 0 |
| 2 | 99ms | 19660kb | Incorect | 0 |
| 3 | 179ms | 786kb | OK | 5 | 20 |
| 4 | 183ms | 786kb | OK | 5 |
| 5 | 164ms | 786kb | OK | 5 |
| 6 | 110ms | 786kb | OK | 5 |
| 7 | 537ms | 109051kb | Incorect | 0 | 0 |
| 8 | 559ms | 109051kb | Incorect | 0 |
| 9 | 534ms | 108920kb | Incorect | 0 |
| 10 | 563ms | 109051kb | Incorect | 0 |
| 11 | 558ms | 108920kb | Incorect | 0 |
| 12 | 532ms | 109051kb | Incorect | 0 |
| 13 | 169ms | 917kb | OK | 5 | 0 |
| 14 | 447ms | 56098kb | Incorect | 0 |
| 15 | 454ms | 58589kb | Incorect | 0 |
| 16 | 428ms | 28442kb | Incorect | 0 |
| 17 | 655ms | 7585kb | Incorect | 0 |
| 18 | 407ms | 14548kb | Incorect | 0 |
| 19 | 411ms | 24903kb | Incorect | 0 |
| 20 | 432ms | 14548kb | Incorect | 0 |
| Punctaj total | 20 |